summaryrefslogtreecommitdiffstats
path: root/db/old_migrations/patch-monitor-oauth-cc.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/old_migrations/patch-monitor-oauth-cc.sql')
-rw-r--r--db/old_migrations/patch-monitor-oauth-cc.sql19
1 files changed, 19 insertions, 0 deletions
diff --git a/db/old_migrations/patch-monitor-oauth-cc.sql b/db/old_migrations/patch-monitor-oauth-cc.sql
new file mode 100644
index 0000000..f33e952
--- /dev/null
+++ b/db/old_migrations/patch-monitor-oauth-cc.sql
@@ -0,0 +1,19 @@
+-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
+BEGIN TRANSACTION;
+
+ALTER TABLE monitor
+ ADD oauth_client_id TEXT default null;
+
+ALTER TABLE monitor
+ ADD oauth_client_secret TEXT default null;
+
+ALTER TABLE monitor
+ ADD oauth_token_url TEXT default null;
+
+ALTER TABLE monitor
+ ADD oauth_scopes TEXT default null;
+
+ALTER TABLE monitor
+ ADD oauth_auth_method TEXT default null;
+
+COMMIT;