fix formatting

This commit is contained in:
Antonio Ramirez
2016-12-14 02:50:12 +01:00
parent f3f4b31bb4
commit 3ba01b4674
140 changed files with 512 additions and 523 deletions

View File

@ -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);

View File

@ -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(),
]
);

View File

@ -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(),
]
);

View File

@ -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(),
]
);