Unverified Commit bd054942 authored by KaMe's avatar KaMe Committed by GitHub

Update 2018_05_23_145242_edit_body_column_nullable.php

parent e1cff910
......@@ -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();
});
}
......@@ -26,7 +26,7 @@ class EditBodyColumnNullable extends Migration
public function down()
{
Schema::table('page__page_translations', function (Blueprint $table) {
$table->string('body')->nullable(false)->change();
$table->text('body')->nullable(false)->change();
});
}
}
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