Skip to content

Commit

Permalink
Update 2017_04_10_195926_change_extras_to_longtext.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tabacitu authored Sep 27, 2024
1 parent 9a6868b commit ee0667e
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 ChangeExtrasToLongtext extends Migration
public function up()
{
Schema::table('pages', function (Blueprint $table) {
$table->longText('extras')->change();
$table->longText('extras')->nullable()->change();
});
}

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

0 comments on commit ee0667e

Please sign in to comment.