fix migrations for upgrade

This commit is contained in:
Saeed Vaziry 2024-03-23 14:34:02 +01:00
parent 77a09cec48
commit 9f577ef2d0
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ public function up(): void
$table->string('profile_photo_path', 2048)->nullable(); $table->string('profile_photo_path', 2048)->nullable();
$table->text('two_factor_secret')->nullable(); $table->text('two_factor_secret')->nullable();
$table->text('two_factor_recovery_codes')->nullable(); $table->text('two_factor_recovery_codes')->nullable();
$table->string('timezone')->default('UTC'); $table->string('timezone')->default('UTC')->nullable();
$table->timestamps(); $table->timestamps();
}); });
} }

View File

@ -23,7 +23,7 @@ public function up(): void
$table->string('branch')->nullable(); $table->string('branch')->nullable();
$table->integer('port')->nullable(); $table->integer('port')->nullable();
$table->string('status')->default('installing'); $table->string('status')->default('installing');
$table->tinyInteger('progress')->default(0); $table->tinyInteger('progress')->default(0)->nullable();
$table->timestamps(); $table->timestamps();
}); });
} }