dimanche 8 juillet 2018

how to create second table in laravel.i having a error table already exits

class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (Blueprint $table) { $table->increments('id'); $table->string('name');
$table->string('email')->unique(); $table->string('password'); $table->rememberToken(); $table->timestamps(); }); }

/**
 * Reverse the migrations.
 *
 * @return void
 */
public function down()
{
    Schema::dropIfExists('users');
}

} this is my user table code help me i m new in laravel



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire