Commit a247a858 by Aan Choesni Herlingga

bug fix migration table name file

parent 56f749a9
...@@ -13,7 +13,7 @@ class CreateFilesTable extends Migration ...@@ -13,7 +13,7 @@ class CreateFilesTable extends Migration
*/ */
public function up() public function up()
{ {
Schema::create('=swp_files', function (Blueprint $table) { Schema::create('swp_files', function (Blueprint $table) {
$table->string('id', 32); $table->string('id', 32);
$table->string('categories_file', 32); $table->string('categories_file', 32);
$table->string('title'); $table->string('title');
...@@ -34,6 +34,6 @@ class CreateFilesTable extends Migration ...@@ -34,6 +34,6 @@ class CreateFilesTable extends Migration
*/ */
public function down() public function down()
{ {
Schema::dropIfExists('=swp_files'); Schema::dropIfExists('swp_files');
} }
} }
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