fix: database migration
This commit is contained in:
parent
46e6c9db51
commit
aeb97401ba
1 changed files with 2 additions and 6 deletions
|
|
@ -12,9 +12,7 @@
|
||||||
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();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -24,9 +22,7 @@ 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');
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Loading…
Reference in a new issue