mirror-nourybot/migrations/000002_create_users_table.up.sql

17 lines
485 B
MySQL
Raw Normal View History

2022-08-09 21:25:44 +02:00
CREATE TABLE IF NOT EXISTS users (
2023-03-04 23:37:31 +01:00
id bigserial PRIMARY KEY,
added_at timestamp(0) with time zone NOT NULL DEFAULT NOW(),
login text UNIQUE NOT NULL,
twitchid text NOT NULL,
level integer NOT NULL,
location text
2022-08-10 18:57:50 +02:00
);
INSERT INTO users (added_at,login,twitchid,"level") VALUES
(NOW(),'nourylul','31437432',1000),
(NOW(),'nourybot','596581605',1000),
(NOW(),'uudelleenkytkeytynyt','465178364',1000),
2022-08-12 02:50:57 +02:00
(NOW(),'xnoury','197780373',500),
(NOW(),'noemience','135447564',500);