MarseyWorld/seed-db.sql

27 lines
1.4 KiB
MySQL
Raw Normal View History

2022-12-04 23:46:06 +00:00
INSERT INTO public.users (
2023-01-01 12:23:43 +00:00
username, passhash, created_utc, admin_level, over_18, is_activated,
2022-12-04 23:46:06 +00:00
original_username, defaultsorting, defaultsortingcomments, defaulttime, namecolor, titlecolor, theme, themecolor,
2023-02-25 16:00:05 +00:00
cardview, reddit, pronouns, verified, profileurl, highres,
2022-12-04 23:52:29 +00:00
marsify, last_viewed_post_notifs, last_viewed_log_notifs, last_viewed_reddit_notifs
2022-12-04 23:46:06 +00:00
) VALUES
2023-01-01 12:23:43 +00:00
('AutoJanny', '', extract(epoch from now()), 0, true, true,
2022-12-04 23:46:06 +00:00
'AutoJanny', 'hot', 'top', 'day', 'ff66ac', 'ff66ac', 'dark', 'ff66ac',
2023-02-25 16:00:05 +00:00
false, 'old.reddit.com', 'clean/itup', 'Verified', '/i/pfps/1.webp', '/i/pfps/1.webp',
2022-12-04 23:52:29 +00:00
0, 0, 0, 0),
2023-01-01 12:23:43 +00:00
('Snappy', '', extract(epoch from now()), 0, true, true,
2022-12-04 23:46:06 +00:00
'Snappy', 'hot', 'top', 'day', '62ca56', 'e4432d', 'dark', '30409f',
2023-02-25 16:00:05 +00:00
false, 'old.reddit.com', 'beep/boop', 'Verified', '/i/pfps/2.webp', '/i/pfps/2.webp',
2022-12-04 23:52:29 +00:00
0, 0, 0, 0),
2023-01-01 12:23:43 +00:00
('longpostbot', '', extract(epoch from now()), 0, true, true,
2022-12-04 23:46:06 +00:00
'longpostbot', 'hot', 'top', 'day', '62ca56', 'e4432d', 'dark', '30409f',
2023-02-25 16:00:05 +00:00
false, 'old.reddit.com', 'tl/dr', 'Verified', '/i/pfps/3.webp', '/i/pfps/3.webp',
2022-12-04 23:52:29 +00:00
0, 0, 0, 0),
2023-01-01 12:23:43 +00:00
('zozbot', '', extract(epoch from now()), 0, true, true,
2022-12-04 23:46:06 +00:00
'zozbot', 'hot', 'top', 'day', '62ca56', 'e4432d', 'dark', '30409f',
2023-02-25 16:00:05 +00:00
false, 'old.reddit.com', 'zoz/zle', 'Verified', '/i/pfps/4.webp', '/i/pfps/4.webp',
2022-12-04 23:52:29 +00:00
0, 0, 0, 0);
2022-12-04 23:46:06 +00:00
2022-09-23 23:44:03 +00:00
INSERT INTO public.marseys (name, author_id, tags, created_utc) VALUES
2023-02-24 04:00:05 +00:00
()
2022-09-23 23:44:03 +00:00
ON CONFLICT (name) DO UPDATE SET tags = EXCLUDED.tags;