Update migrations for consistent column changes without doctrine/dbal

This commit is contained in:
Bubka 2024-06-26 13:58:56 +02:00
parent ed205bd955
commit dd44b49c4e
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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();
});
}
}