Skip to content

Commit 99be300

Browse files
fix: increase email field length in email_tokens as well
1 parent ce82834 commit 99be300

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
/*
4+
* This file is part of Flarum.
5+
*
6+
* For detailed copyright and license information, please view the
7+
* LICENSE file that was distributed with this source code.
8+
*/
9+
10+
use Illuminate\Database\Schema\Blueprint;
11+
use Illuminate\Database\Schema\Builder;
12+
13+
return [
14+
'up' => function (Builder $schema) {
15+
$schema->table('email_tokens', function (Blueprint $table) {
16+
$table->string('email', 254)->change();
17+
});
18+
},
19+
20+
'down' => function (Builder $schema) {
21+
$schema->table('email_tokens', function (Blueprint $table) {
22+
$table->string('email', 150)->change();
23+
});
24+
}
25+
];

0 commit comments

Comments
 (0)