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