Skip to content

Commit

Permalink
fix: increase email field length in email_tokens as well
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Nov 22, 2024
1 parent ce82834 commit 99be300
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

/*
* This file is part of Flarum.
*
* For detailed copyright and license information, please view the
* LICENSE file that was distributed with this source code.
*/

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Schema\Builder;

return [
'up' => 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();
});
}
];

0 comments on commit 99be300

Please sign in to comment.