mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-01-22 15:30:15 +01:00
Update 2023_03_09_121613_update_columns_to_text_type.php
This commit is contained in:
parent
0581e0f952
commit
437c6d0661
@ -19,7 +19,7 @@ class UpdateColumnsToTextType extends Migration
|
||||
|
||||
Schema::table('links', function (Blueprint $table) {
|
||||
$table->text('title')->change();
|
||||
$table->text('links')->nullable();
|
||||
$table->text('links')->change();
|
||||
});
|
||||
}
|
||||
|
||||
@ -36,7 +36,7 @@ class UpdateColumnsToTextType extends Migration
|
||||
|
||||
Schema::table('links', function (Blueprint $table) {
|
||||
$table->string('title', 255)->change();
|
||||
$table->dropColumn('links');
|
||||
$table->dropColumn('links', 255)->change();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user