aboutsummaryrefslogtreecommitdiff
path: root/migrations/2019-03-08-073831_store-token/up.sql
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/2019-03-08-073831_store-token/up.sql')
-rw-r--r--migrations/2019-03-08-073831_store-token/up.sql10
1 files changed, 0 insertions, 10 deletions
diff --git a/migrations/2019-03-08-073831_store-token/up.sql b/migrations/2019-03-08-073831_store-token/up.sql
deleted file mode 100644
index 94f826b..0000000
--- a/migrations/2019-03-08-073831_store-token/up.sql
+++ /dev/null
@@ -1,10 +0,0 @@
-CREATE TABLE google_oauth_tokens (
- id SERIAL PRIMARY KEY,
- token VARCHAR NOT NULL,
- refresh_token VARCHAR NOT NULL,
- expiration TIMESTAMP NOT NULL,
- created TIMESTAMP NOT NULL DEFAULT current_timestamp
-);
-
-CREATE INDEX oauth_token_exp_index ON google_oauth_tokens (expiration);
-CREATE INDEX oauth_token_created_index ON google_oauth_tokens (created);