fix: database migration

This commit is contained in:
peaklabs-dev
2024-12-11 17:19:49 +01:00
parent 46e6c9db51
commit aeb97401ba

View File

@@ -11,11 +11,9 @@ return new class extends Migration
*/
public function up(): void
{
Schema::table('oauth_settings', function (Blueprint $table) {
Schema::table('oauth_settings', function (Blueprint $table) {
$table->string('base_url')->nullable();
});
});
}
/**
@@ -23,10 +21,8 @@ return new class extends Migration
*/
public function down(): void
{
Schema::table('oauth_settings', function (Blueprint $table) {
Schema::table('oauth_settings', function (Blueprint $table) {
$table->dropColumn('base_url');
});
});
}
};