increments('id'); $table->string('login'); $table->string('pass'); $table->string('name'); $table->string('mail')->default('')->nullable(); $table->unique('login', 'user'); }); } } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('wiki_user'); } }