diff --git a/framework/core/migrations/2024_11_22_000000_increase_email_field_length_in_email_tokens.php b/framework/core/migrations/2024_11_22_000000_increase_email_field_length_in_email_tokens.php new file mode 100644 index 0000000000..d83df4db06 --- /dev/null +++ b/framework/core/migrations/2024_11_22_000000_increase_email_field_length_in_email_tokens.php @@ -0,0 +1,25 @@ + function (Builder $schema) { + $schema->table('email_tokens', function (Blueprint $table) { + $table->string('email', 254)->change(); + }); + }, + + 'down' => function (Builder $schema) { + $schema->table('email_tokens', function (Blueprint $table) { + $table->string('email', 150)->change(); + }); + } +];