mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-13 23:38:32 +02:00
Update migrations for consistent column changes without doctrine/dbal
This commit is contained in:
@ -18,7 +18,7 @@ class AlterEncryptedColumnsToText extends Migration
|
||||
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 @@ class AlterEncryptedColumnsToTextForSqlite extends Migration
|
||||
if ('sqlite' === $driver) {
|
||||
|
||||
Schema::table('twofaccounts', function (Blueprint $table) {
|
||||
$table->text('account')->change();
|
||||
$table->text('account')->nullable()->change();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user