Make sure that migrations work on old MySQL servers.

This commit is contained in:
James Cole 2021-04-10 06:36:09 +02:00
parent f5e5854479
commit b0027acf34
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D

View File

@ -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);