mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-03-26 22:16:06 +01:00
Update migrations for consistent column changes without doctrine/dbal
This commit is contained in:
parent
ed205bd955
commit
dd44b49c4e
@ -18,7 +18,7 @@ public function up()
|
||||
if ('sqlite' !== $driver) {
|
||||
|
||||
Schema::table('twofaccounts', function (Blueprint $table) {
|
||||
$table->text('account')->change();
|
||||
$table->text('account')->nullable()->change();
|
||||
});
|
||||
|
||||
Schema::table('twofaccounts', function (Blueprint $table) {
|
||||
|
@ -18,7 +18,7 @@ public function up()
|
||||
if ('sqlite' === $driver) {
|
||||
|
||||
Schema::table('twofaccounts', function (Blueprint $table) {
|
||||
$table->text('account')->change();
|
||||
$table->text('account')->nullable()->change();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user