Commit 24cf8638 authored by Frederick Zhang's avatar Frederick Zhang

fix migration

parent 47ef83b4
......@@ -13,7 +13,7 @@ class BuildingId extends Migration
*/
public function up()
{
Schema::create('building', function (Blueprint $table) {
Schema::create('buildings', function (Blueprint $table) {
$table->increments('id');
$table->json('data');
});
......@@ -26,6 +26,6 @@ class BuildingId extends Migration
*/
public function down()
{
Schema::dropIfExists('building');
Schema::dropIfExists('buildings');
}
}
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