pull/83/head
SneedBot 2023-01-01 12:23:43 +00:00
parent c3a5418d3a
commit 93aa16d535
2 changed files with 10 additions and 33 deletions

View File

@ -436,16 +436,6 @@ CREATE TABLE public.commentvotes (
); );
--
-- Name: event_users; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.event_users (
id integer NOT NULL,
event_darkmode boolean NOT NULL
);
-- --
-- Name: exiles; Type: TABLE; Schema: public; Owner: - -- Name: exiles; Type: TABLE; Schema: public; Owner: -
-- --
@ -997,6 +987,7 @@ CREATE TABLE public.users (
verified character varying(100), verified character varying(100),
cardview boolean NOT NULL, cardview boolean NOT NULL,
received_award_count integer DEFAULT 0 NOT NULL, received_award_count integer DEFAULT 0 NOT NULL,
highlightcomments boolean DEFAULT true NOT NULL,
nitter boolean, nitter boolean,
truescore integer DEFAULT 0 NOT NULL, truescore integer DEFAULT 0 NOT NULL,
frontsize integer DEFAULT 25 NOT NULL, frontsize integer DEFAULT 25 NOT NULL,
@ -1041,8 +1032,9 @@ CREATE TABLE public.users (
profanityreplacer integer DEFAULT 1 NOT NULL, profanityreplacer integer DEFAULT 1 NOT NULL,
last_viewed_reddit_notifs integer NOT NULL, last_viewed_reddit_notifs integer NOT NULL,
profile_background character varying(30), profile_background character varying(30),
event_music boolean NOT NULL, event_music boolean,
chudded_by integer chudded_by integer,
event_darkmode boolean
); );
@ -1290,14 +1282,6 @@ ALTER TABLE ONLY public.banneddomains
ADD CONSTRAINT domain_pkey PRIMARY KEY (domain); ADD CONSTRAINT domain_pkey PRIMARY KEY (domain);
--
-- Name: event_users event_users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.event_users
ADD CONSTRAINT event_users_pkey PRIMARY KEY (id);
-- --
-- Name: exiles exiles_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- Name: exiles exiles_pkey; Type: CONSTRAINT; Schema: public; Owner: -
-- --
@ -2334,14 +2318,6 @@ ALTER TABLE ONLY public.commentvotes
ADD CONSTRAINT commentvote_user_fkey FOREIGN KEY (user_id) REFERENCES public.users(id); ADD CONSTRAINT commentvote_user_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);
--
-- Name: event_users event_users_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.event_users
ADD CONSTRAINT event_users_id_fkey FOREIGN KEY (id) REFERENCES public.users(id);
-- --
-- Name: exiles exile_exiler_fkey; Type: FK CONSTRAINT; Schema: public; Owner: - -- Name: exiles exile_exiler_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
-- --
@ -2817,3 +2793,4 @@ ALTER TABLE ONLY public.comments
-- --
-- PostgreSQL database dump complete -- PostgreSQL database dump complete
-- --

View File

@ -1,22 +1,22 @@
INSERT INTO public.users ( INSERT INTO public.users (
username, passhash, created_utc, admin_level, over_18, is_activated, username, passhash, created_utc, admin_level, over_18, is_activated,
original_username, defaultsorting, defaultsortingcomments, defaulttime, namecolor, titlecolor, theme, themecolor, original_username, defaultsorting, defaultsortingcomments, defaulttime, namecolor, titlecolor, theme, themecolor,
cardview, reddit, pronouns, verified, profileurl, highres, cardview, reddit, pronouns, verified, profileurl, highres,
marsify, last_viewed_post_notifs, last_viewed_log_notifs, last_viewed_reddit_notifs marsify, last_viewed_post_notifs, last_viewed_log_notifs, last_viewed_reddit_notifs
) VALUES ) VALUES
('AutoJanny', '', extract(epoch from now()), 0, true, true, ('AutoJanny', '', extract(epoch from now()), 0, true, true,
'AutoJanny', 'hot', 'top', 'day', 'ff66ac', 'ff66ac', 'dark', 'ff66ac', 'AutoJanny', 'hot', 'top', 'day', 'ff66ac', 'ff66ac', 'dark', 'ff66ac',
false, 'old.reddit.com', 'clean/itup', 'Verified', '/i/pfps/1.webp', '/i/pfps/1.webp', false, 'old.reddit.com', 'clean/itup', 'Verified', '/i/pfps/1.webp', '/i/pfps/1.webp',
0, 0, 0, 0), 0, 0, 0, 0),
('Snappy', '', extract(epoch from now()), 0, true, true, ('Snappy', '', extract(epoch from now()), 0, true, true,
'Snappy', 'hot', 'top', 'day', '62ca56', 'e4432d', 'dark', '30409f', 'Snappy', 'hot', 'top', 'day', '62ca56', 'e4432d', 'dark', '30409f',
false, 'old.reddit.com', 'beep/boop', 'Verified', '/i/pfps/2.webp', '/i/pfps/2.webp', false, 'old.reddit.com', 'beep/boop', 'Verified', '/i/pfps/2.webp', '/i/pfps/2.webp',
0, 0, 0, 0), 0, 0, 0, 0),
('longpostbot', '', extract(epoch from now()), 0, true, true, ('longpostbot', '', extract(epoch from now()), 0, true, true,
'longpostbot', 'hot', 'top', 'day', '62ca56', 'e4432d', 'dark', '30409f', 'longpostbot', 'hot', 'top', 'day', '62ca56', 'e4432d', 'dark', '30409f',
false, 'old.reddit.com', 'tl/dr', 'Verified', '/i/pfps/3.webp', '/i/pfps/3.webp', false, 'old.reddit.com', 'tl/dr', 'Verified', '/i/pfps/3.webp', '/i/pfps/3.webp',
0, 0, 0, 0), 0, 0, 0, 0),
('zozbot', '', extract(epoch from now()), 0, true, true, ('zozbot', '', extract(epoch from now()), 0, true, true,
'zozbot', 'hot', 'top', 'day', '62ca56', 'e4432d', 'dark', '30409f', 'zozbot', 'hot', 'top', 'day', '62ca56', 'e4432d', 'dark', '30409f',
false, 'old.reddit.com', 'zoz/zle', 'Verified', '/i/pfps/4.webp', '/i/pfps/4.webp', false, 'old.reddit.com', 'zoz/zle', 'Verified', '/i/pfps/4.webp', '/i/pfps/4.webp',
0, 0, 0, 0); 0, 0, 0, 0);