aboutsummaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2023-04-06 17:14:22 -0400
committerCara Salter <cara@devcara.com>2023-04-06 17:14:22 -0400
commit555810bedc0cf9d9d954f56b5a2c8c92522ad27f (patch)
tree0dd37a701fb242fa953c23f2b0a94252fa60762b /migrations
parent3a3a1e5345ae8e133fa7800d9fcba2dbb779b8b9 (diff)
parent7629de5b888bd3d1cdb94dce3ba51cb1e1c2e625 (diff)
download142bot-555810bedc0cf9d9d954f56b5a2c8c92522ad27f.tar.gz
142bot-555810bedc0cf9d9d954f56b5a2c8c92522ad27f.zip
Merge branch 'database'
Change-Id: I5f6fb3b64db0585955defdec0fe1ee9555ba89ec
Diffstat (limited to 'migrations')
-rw-r--r--migrations/0001-init.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/migrations/0001-init.sql b/migrations/0001-init.sql
new file mode 100644
index 0000000..7a00ff0
--- /dev/null
+++ b/migrations/0001-init.sql
@@ -0,0 +1,7 @@
+CREATE TABLE IF NOT EXISTS spotify (
+ id SERIAL PRIMARY KEY,
+ spotify_username TEXT NOT NULL,
+ spotify_token TEXT NOT NULL,
+ spotify_token_expires TIMESTAMP NOT NULL,
+ spotify_refresh_token TEXT NOT NULL
+); \ No newline at end of file