Update 2023_03_09_121613_update_columns_to_text_type.php

This commit is contained in:
Julian Prieber 2023-05-04 19:01:56 +02:00
parent 0390249060
commit 154e3d4fb3
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')->change(); $table->text('link')->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', 255)->change(); $table->dropColumn('link', 255)->change();
}); });
} }
} }