add initial data to migration

This commit is contained in:
lyx0 2022-08-10 18:57:50 +02:00
parent fa9566d6ce
commit 94f21a2a66
2 changed files with 14 additions and 2 deletions

View file

@ -3,4 +3,10 @@ CREATE TABLE IF NOT EXISTS channels (
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(),'nourylul','31437432'),
(NOW(),'nourybot','596581605'),
(NOW(),'uudelleenkytkeytynyt','465178364'),
(NOW(),'xnoury','197780373');

View file

@ -4,4 +4,10 @@ CREATE TABLE IF NOT EXISTS users (
login text UNIQUE NOT NULL,
twitchid text NOT NULL,
level integer NOT NULL
);
);
INSERT INTO users (added_at,login,twitchid,"level") VALUES
(NOW(),'nourylul','31437432',1000),
(NOW(),'nourybot','596581605',1000),
(NOW(),'uudelleenkytkeytynyt','465178364',1000),
(NOW(),'xnoury','197780373',500);