Update 2023_03_09_121613_update_columns_to_text_type.php
This commit is contained in:
parent
0390249060
commit
154e3d4fb3
|
@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue