Commit ae69e005 authored by hangjun83's avatar hangjun83

1、修复bug

parent 3ae5143d
...@@ -35,6 +35,9 @@ class CreateUsersTable extends Migration ...@@ -35,6 +35,9 @@ class CreateUsersTable extends Migration
$table->unsignedTinyInteger('lastlogin')->nullable()->comment('最后登陆时间'); $table->unsignedTinyInteger('lastlogin')->nullable()->comment('最后登陆时间');
$table->timestamps(); $table->timestamps();
$table->engine('InnoDB');
}); });
$columnNames = 'username'; $columnNames = 'username';
Schema::table($tableNames,function(Blueprint $table) use ($tableNames,$columnNames){ Schema::table($tableNames,function(Blueprint $table) use ($tableNames,$columnNames){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment