Commit 31c1b639 authored by hangjun83's avatar hangjun83

1、修复bug

parent ae69e005
...@@ -32,7 +32,7 @@ class AppServiceProvider extends ServiceProvider ...@@ -32,7 +32,7 @@ class AppServiceProvider extends ServiceProvider
*/ */
public function boot() public function boot()
{ {
//Schema::defaultStringLength(191); Schema::defaultStringLength(191);
$this->registerObservers(); // 注册观察者 $this->registerObservers(); // 注册观察者
} }
......
...@@ -130,8 +130,6 @@ return [ ...@@ -130,8 +130,6 @@ return [
'migrations' => 'migrations', 'migrations' => 'migrations',
'engine' => 'InnoDB ROW_FORMAT=DYNAMIC',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Redis Databases | Redis Databases
......
...@@ -35,9 +35,6 @@ class CreateUsersTable extends Migration ...@@ -35,9 +35,6 @@ 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