mirror-nourybot/migrations/000005_create_lastfm_table.up.sql

11 lines
278 B
MySQL
Raw Normal View History

2023-03-04 20:18:15 +01:00
CREATE TABLE IF NOT EXISTS lastfm_users (
id bigserial PRIMARY KEY,
2023-03-04 21:25:17 +01:00
twitch_login text NOT NULL,
twitch_id text UNIQUE NOT NULL,
2023-03-04 20:18:15 +01:00
lastfm_username text NOT NULL
);
INSERT INTO lastfm_users (twitch_login,twitch_id,lastfm_username) VALUES
('nourylul','31437432','nouryqt');