Skip to content

Commit b999079

Browse files
author
Tim Helfensdörfer
committed
Context is allowed to be null
1 parent 746b1aa commit b999079

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/migrations/2018_12_02_102846_update_text_columns.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ public function up()
1515
{
1616
Schema::table(env('LOG_TABLE', 'logs'), function (Blueprint $table) {
1717
$table->longText('message')->change();
18-
$table->longText('context')->change();
18+
$table->longText('context')
19+
->nullable()
20+
->change();
1921
$table->longText('extra')->change();
2022
});
2123
}

0 commit comments

Comments
 (0)