mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Add column for new OAuth thing.
This commit is contained in:
@@ -18,10 +18,16 @@ class ChangesForV540 extends Migration
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table(
|
||||
'accounts', static function (Blueprint $table) {
|
||||
'oauth_clients', static function (Blueprint $table) {
|
||||
$table->dropColumn('order');
|
||||
}
|
||||
);
|
||||
|
||||
Schema::table(
|
||||
'accounts', static function (Blueprint $table) {
|
||||
$table->dropColumn('provider');
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -36,5 +42,12 @@ class ChangesForV540 extends Migration
|
||||
$table->integer('order', false, true)->default(0);
|
||||
}
|
||||
);
|
||||
Schema::table(
|
||||
'oauth_clients', static function (Blueprint $table) {
|
||||
$table->string('provider')->nullable();
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user