From be27dab12c9c7931a685eebac767559afd16b191 Mon Sep 17 00:00:00 2001 From: Davide Iadeluca <146922689+DavideIadeluca@users.noreply.github.com> Date: Thu, 28 Nov 2024 10:57:30 +0100 Subject: [PATCH] fix: increase email field length in `email_tokens` as well (#4125) --- ...ase_email_field_length_in_email_tokens.php | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 framework/core/migrations/2024_11_22_000000_increase_email_field_length_in_email_tokens.php 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(); + }); + } +];