From 8e7d09ec13ce8277174034a080f7bafd686b364a Mon Sep 17 00:00:00 2001 From: mummified-corroding-granny Date: Sat, 25 Feb 2023 15:19:42 +0000 Subject: [PATCH] docker container startup issues: remove public.users cardview from db init (#132) Kindly, I think this required follow-up work after either of these: * https://fsdfsd.net/rDrama/rDrama/commit/7fa150a27f58bf48d71295b9c5afb57311edc272 * https://fsdfsd.net/rDrama/rDrama/commit/8f4ba57b6fadd5e894d159f2be6a97e9c0ba3b22 but it might also be the other way around. I just did this so I could have a docker container that works on my machine (TM). I hadn't restarted it in a few days Either way, this is a totally irresponsible PR from the granny that is guaranteed to make people thank granny for crashing rdrama. Thanks, granny Reviewed-on: https://fsdfsd.net/rDrama/rDrama/pulls/132 Co-authored-by: mummified-corroding-granny Co-committed-by: mummified-corroding-granny --- seed-db.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/seed-db.sql b/seed-db.sql index 7567e5e47..c621b110b 100644 --- a/seed-db.sql +++ b/seed-db.sql @@ -1,24 +1,24 @@ INSERT INTO public.users ( username, passhash, created_utc, admin_level, over_18, is_activated, original_username, defaultsorting, defaultsortingcomments, defaulttime, namecolor, titlecolor, theme, themecolor, - cardview, reddit, pronouns, verified, profileurl, highres, + reddit, pronouns, verified, profileurl, highres, marsify, last_viewed_post_notifs, last_viewed_log_notifs, last_viewed_reddit_notifs ) VALUES ('AutoJanny', '', extract(epoch from now()), 0, true, true, 'AutoJanny', 'hot', 'top', 'day', 'ff66ac', 'ff66ac', 'dark', 'ff66ac', - false, 'old.reddit.com', 'clean/itup', 'Verified', '/i/pfps/1.webp', '/i/pfps/1.webp', + 'old.reddit.com', 'clean/itup', 'Verified', '/i/pfps/1.webp', '/i/pfps/1.webp', 0, 0, 0, 0), ('Snappy', '', extract(epoch from now()), 0, true, true, 'Snappy', 'hot', 'top', 'day', '62ca56', 'e4432d', 'dark', '30409f', - false, 'old.reddit.com', 'beep/boop', 'Verified', '/i/pfps/2.webp', '/i/pfps/2.webp', + 'old.reddit.com', 'beep/boop', 'Verified', '/i/pfps/2.webp', '/i/pfps/2.webp', 0, 0, 0, 0), ('longpostbot', '', extract(epoch from now()), 0, true, true, 'longpostbot', 'hot', 'top', 'day', '62ca56', 'e4432d', 'dark', '30409f', - false, 'old.reddit.com', 'tl/dr', 'Verified', '/i/pfps/3.webp', '/i/pfps/3.webp', + 'old.reddit.com', 'tl/dr', 'Verified', '/i/pfps/3.webp', '/i/pfps/3.webp', 0, 0, 0, 0), ('zozbot', '', extract(epoch from now()), 0, true, true, 'zozbot', 'hot', 'top', 'day', '62ca56', 'e4432d', 'dark', '30409f', - false, 'old.reddit.com', 'zoz/zle', 'Verified', '/i/pfps/4.webp', '/i/pfps/4.webp', + 'old.reddit.com', 'zoz/zle', 'Verified', '/i/pfps/4.webp', '/i/pfps/4.webp', 0, 0, 0, 0); INSERT INTO public.marseys (name, author_id, tags, created_utc) VALUES