Skip to content

Commit 83fa39f

Browse files
Fixed error when migrating database with MySQL
1 parent a9b42a8 commit 83fa39f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/2021_03_18_082008_create_links_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public function up()
2525
$table->foreign('user_id')->references('id')->on('users');
2626
$table->foreign('button_id')->references('id')->on('buttons');
2727
$table->timestamps();
28-
$table->text('custom_css')->default('');
29-
$table->text('custom_icon')->default('fa-external-link');
28+
$table->string('custom_css')->default('');
29+
$table->string('custom_icon')->default('fa-external-link');
3030
});
3131
}
3232

0 commit comments

Comments
 (0)