//write this code in your model
if (!Schema::hasTable('table_name')) { Schema::create("users", function($table) { $table->increments("id"); $table->string("username", 32); $table->string("email", 320); $table->string("password", 64); $table->timestamps(); }); } // hope its working
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community