add migration for lastfm_users

This commit is contained in:
lyx0 2023-03-04 19:18:15 +00:00
parent 27d2bed8ca
commit 05c22e0093
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1 @@
DROP TABLE IF EXISTS lastfm_users;

View file

@ -0,0 +1,10 @@
CREATE TABLE IF NOT EXISTS lastfm_users (
id bigserial PRIMARY KEY,
twitch_login text UNIQUE NOT NULL,
twitch_id text NOT NULL,
lastfm_username text NOT NULL
);
INSERT INTO lastfm_users (twitch_login,twitch_id,lastfm_username) VALUES
('nourylul','31437432','nouryqt');