Skip to content

Commit

Permalink
Update 2018_05_23_145242_edit_body_column_nullable.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kamekun authored May 23, 2018
1 parent e1cff91 commit bd05494
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class EditBodyColumnNullable extends Migration
public function up()
{
Schema::table('page__page_translations', function (Blueprint $table) {
$table->string('body')->nullable()->change();
$table->text('body')->nullable()->change();
});
}

Expand All @@ -26,7 +26,7 @@ public function up()
public function down()
{
Schema::table('page__page_translations', function (Blueprint $table) {
$table->string('body')->nullable(false)->change();
$table->text('body')->nullable(false)->change();
});
}
}

0 comments on commit bd05494

Please sign in to comment.