Insolita / yii2-migrik

Yii2 Gii-tools for create migration files
106 stars 29 forks source link

column of type BIGINT get generated as $this->bigint(), should be $this->bigInteger() #34

Closed krukru closed 7 years ago

krukru commented 7 years ago

When the table contains a column of type bigint, the migration that is generated is 'foo'=> $this->bigint(20) but should be 'foo'=> $this->bigInteger(20)

I used the fluent interface and generation mode "All in one file". Version is 2.2.10

Reference: https://github.com/yiisoft/yii2/blob/master/framework/db/SchemaBuilderTrait.php#L131