Skip to content

Commit

Permalink
Merge pull request #27 from Alex-Zero/6.0
Browse files Browse the repository at this point in the history
修复由命令行创建数据库导致的登录缺少delete_time字段的错误
  • Loading branch information
edenleung committed Oct 17, 2020
2 parents 899dfdb + a218cd1 commit af447c1
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 af447c1

Please sign in to comment.