Skip to content

Commit

Permalink
fix: change email field in email_tokens as well
Browse files Browse the repository at this point in the history
This change must be back ported to 1.x as well
  • Loading branch information
DavideIadeluca committed Nov 22, 2024
1 parent 893759e commit 99e263a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@
$schema->table('users', function (Blueprint $table) {
$table->string('email', 254)->change();
});
$schema->table('email_tokens', function (Blueprint $table) {
$table->string('email', 254)->change();
});
},

'down' => function (Builder $schema) {
$schema->table('users', function (Blueprint $table) {
$table->string('email', 150)->change();
});
$schema->table('email_tokens', function (Blueprint $table) {
$table->string('email', 150)->change();
});
}
];

0 comments on commit 99e263a

Please sign in to comment.