Skip to content

Commit

Permalink
修复由命令行创建数据库导致的登录缺少delete_time字段的错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Zero committed Jul 23, 2020
1 parent a0fbdf2 commit a218cd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database/migrations/20191217060357_user.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function change()
->addColumn('email', 'string', ['limit' => 50, 'default' => '', 'comment' => '邮箱'])
->addColumn('create_time', 'integer', ['limit' => 11, 'comment' => '创建时间'])
->addColumn('update_time', 'integer', ['limit' => 11, 'comment' => '更新时间'])
->addColumn('delete_time', 'integer', ['limit' => 11, 'comment' => '删除时间'])
->addIndex(['name'], ['unique' => true])
->create();
}
Expand Down

0 comments on commit a218cd1

Please sign in to comment.