fix: database migration

This commit is contained in:
peaklabs-dev 2024-12-11 17:19:49 +01:00
parent 46e6c9db51
commit aeb97401ba
No known key found for this signature in database

View file

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