From: Vincent Vanwaelscappel Date: Tue, 21 May 2019 12:59:53 +0000 (+0200) Subject: #2783 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=31544f073916bdf87d3ef224371954c22194cfb9;p=cubist_cms-back.git #2783 --- diff --git a/src/database/2019_05_20_161943_create_models_table.php b/src/database/2019_05_20_161943_create_models_table.php deleted file mode 100644 index c1d7a43..0000000 --- a/src/database/2019_05_20_161943_create_models_table.php +++ /dev/null @@ -1,33 +0,0 @@ -increments('id'); - $table->string('name')->unique(); - $table->string('label'); - $table->json('attributes'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('models'); - } -} diff --git a/src/database/migrations/2019_05_20_161943_create_models_table.php b/src/database/migrations/2019_05_20_161943_create_models_table.php new file mode 100644 index 0000000..c1d7a43 --- /dev/null +++ b/src/database/migrations/2019_05_20_161943_create_models_table.php @@ -0,0 +1,33 @@ +increments('id'); + $table->string('name')->unique(); + $table->string('label'); + $table->json('attributes'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::drop('models'); + } +}