Skip to content

Commit 3a613ac

Browse files
authored
Update 5_change_link_to_long_text.php.stub
1 parent 9803765 commit 3a613ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

database/migrations/5_change_link_to_long_text.php.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ return new class extends Migration
99
public function up()
1010
{
1111
Schema::table(config('mails.database.tables.events', 'mail_events'), function (Blueprint $table) {
12-
$table->longText('link')->change();
12+
$table->longText('link')->nullable()->change();
1313
});
1414

1515
}
1616

1717
public function down()
1818
{
1919
Schema::table(config('mails.database.tables.events', 'mail_events'), function (Blueprint $table) {
20-
$table->string('link')->change();
20+
$table->string('link')->nullable()->change();
2121
});
2222
}
2323
};

0 commit comments

Comments
 (0)