backstage seeds upload

This commit is contained in:
yanwenwu
2018-11-21 11:10:25 +08:00
parent 0e0492978c
commit a38ec53d1d
8 changed files with 313 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ class Users extends Migrator
->addColumn('login_ip', 'string',['limit' => 50, 'default'=>'','comment'=>'登录IP'])
->addColumn('created_at', 'timestamp', [ 'comment' => '更新时间'])
->addColumn('login_at', 'timestamp', [ 'comment' => '最近登录时间'])
->addIndex(['name'], ['unique' => true])
->addIndex(['name', 'email'], ['unique' => true])
->create();
}
}