mirror-nourybot/migrations/prod/000001_create_channels_table.up.sql
2023-12-11 01:32:00 +01:00

15 lines
422 B
SQL

CREATE TABLE IF NOT EXISTS channels (
id bigserial PRIMARY KEY,
added_at timestamp(0) with time zone NOT NULL DEFAULT NOW(),
login text UNIQUE NOT NULL,
twitchid text NOT NULL
);
INSERT INTO channels (added_at,login,twitchid) VALUES
(NOW(),'nouryxd','31437432'),
(NOW(),'nourybot','596581605'),
(NOW(),'uudelleenkytkeytynyt','465178364'),
(NOW(),'forsen','22484632'),
(NOW(),'xnoury','197780373');