Fixed error when migrating database with MySQL

This commit is contained in:
Julian Prieber 2022-05-12 14:47:07 +02:00 committed by GitHub
parent a9b42a8d65
commit 83fa39f579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,8 +25,8 @@ class CreateLinksTable extends Migration
$table->foreign('user_id')->references('id')->on('users');
$table->foreign('button_id')->references('id')->on('buttons');
$table->timestamps();
$table->text('custom_css')->default('');
$table->text('custom_icon')->default('fa-external-link');
$table->string('custom_css')->default('');
$table->string('custom_icon')->default('fa-external-link');
});
}