fix formatting
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Da\User\Migration;
|
||||
|
||||
use yii\db\Migration;
|
||||
@ -19,7 +20,7 @@ class m000000_000001_create_user_table extends Migration
|
||||
'confirmed_at' => $this->integer(),
|
||||
'blocked_at' => $this->integer(),
|
||||
'updated_at' => $this->integer()->notNull(),
|
||||
'created_at' => $this->integer()->notNull()
|
||||
'created_at' => $this->integer()->notNull(),
|
||||
]);
|
||||
|
||||
$this->createIndex('idx_user_username', '{{%user}}', 'username', true);
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Da\User\Migration;
|
||||
|
||||
use yii\db\Migration;
|
||||
@ -18,7 +19,7 @@ class m000000_000002_create_profile_table extends Migration
|
||||
'location' => $this->string(255),
|
||||
'website' => $this->string(255),
|
||||
'timezone' => $this->string(40),
|
||||
'bio' => $this->text()
|
||||
'bio' => $this->text(),
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Da\User\Migration;
|
||||
|
||||
use yii\db\Migration;
|
||||
@ -18,7 +19,7 @@ class m000000_000003_create_social_account_table extends Migration
|
||||
'email' => $this->string(255),
|
||||
'username' => $this->string(255),
|
||||
'data' => $this->text(),
|
||||
'created_at' => $this->integer()
|
||||
'created_at' => $this->integer(),
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Da\User\Migration;
|
||||
|
||||
use yii\db\Migration;
|
||||
@ -13,7 +14,7 @@ class m000000_000004_create_token_table extends Migration
|
||||
'user_id' => $this->integer(),
|
||||
'code' => $this->string(32)->notNull(),
|
||||
'type' => $this->smallInteger(6)->notNull(),
|
||||
'created_at' => $this->integer()->notNull()
|
||||
'created_at' => $this->integer()->notNull(),
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user