Skip to content

Firefly III: a personal finances manager

Add column for new OAuth thing.

James Cole7c2ae7a91e59
diff --git a/database/migrations/2020_07_24_162820_changes_for_v540.php b/database/migrations/2020_07_24_162820_changes_for_v540.php
index 4896026069..14e6133721 100644
--- a/database/migrations/2020_07_24_162820_changes_for_v540.php
+++ b/database/migrations/2020_07_24_162820_changes_for_v540.php
@@ -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();
+ }
+ );
+
+
}
}