Update 2023_03_09_121613_update_columns_to_text_type.php

This commit is contained in:
Julian Prieber 2023-05-03 20:38:50 +02:00
parent 0581e0f952
commit 437c6d0661
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ class UpdateColumnsToTextType extends Migration
Schema::table('links', function (Blueprint $table) { Schema::table('links', function (Blueprint $table) {
$table->text('title')->change(); $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) { Schema::table('links', function (Blueprint $table) {
$table->string('title', 255)->change(); $table->string('title', 255)->change();
$table->dropColumn('links'); $table->dropColumn('links', 255)->change();
}); });
} }
} }