Skip to content

Firefly III: a personal finances manager

Make sure that migrations work on old MySQL servers.

James Coleb0027acf3485
diff --git a/database/migrations/2020_11_12_070604_changes_for_v550.php b/database/migrations/2020_11_12_070604_changes_for_v550.php
index 5c5902df4f..b6494f6886 100644
--- a/database/migrations/2020_11_12_070604_changes_for_v550.php
+++ b/database/migrations/2020_11_12_070604_changes_for_v550.php
@@ -150,7 +150,7 @@ class ChangesForV550 extends Migration
$table->timestamps();
$table->softDeletes();
$table->integer('user_id', false, true);
- $table->string('title', 512)->index();
+ $table->string('title', 255)->index();
$table->string('secret', 32)->index();
$table->boolean('active')->default(true);
$table->unsignedSmallInteger('trigger', false);