Skip to content

Commit 154e3d4

Browse files
committed
Update 2023_03_09_121613_update_columns_to_text_type.php
1 parent 0390249 commit 154e3d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/2023_03_09_121613_update_columns_to_text_type.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function up()
1919

2020
Schema::table('links', function (Blueprint $table) {
2121
$table->text('title')->change();
22-
$table->text('links')->change();
22+
$table->text('link')->change();
2323
});
2424
}
2525

@@ -36,7 +36,7 @@ public function down()
3636

3737
Schema::table('links', function (Blueprint $table) {
3838
$table->string('title', 255)->change();
39-
$table->dropColumn('links', 255)->change();
39+
$table->dropColumn('link', 255)->change();
4040
});
4141
}
4242
}

0 commit comments

Comments
 (0)