increments('id'); $table->string('username', 100)->index(); $table->string('password', 100); $table->string('name', 100); $table->string('avatar')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('admin_users'); } }