Code Duplication    Length = 8-8 lines in 2 locations

Excluded/Database/Schemas/AbstractColumn.php 2 locations

@@ 467-474 (lines=8) @@
464
     *
465
     * @return $this
466
     */
467
    public function primary()
468
    {
469
        if (!in_array($this->name, $this->table->getPrimaryKeys())) {
470
            $this->table->setPrimaryKeys([$this->name]);
471
        }
472
473
        return $this->setType('primary');
474
    }
475
476
    /**
477
     * Set column as big primary key and register it in parent table primary key list.
@@ 483-490 (lines=8) @@
480
     *
481
     * @return $this
482
     */
483
    public function bigPrimary()
484
    {
485
        if (!in_array($this->name, $this->table->getPrimaryKeys())) {
486
            $this->table->setPrimaryKeys([$this->name]);
487
        }
488
489
        return $this->setType('bigPrimary');
490
    }
491
492
    /**
493
     * Set column as enum type and specify set of allowed values. Most of drivers will emulate enums