forked from MarseyWorld/MarseyWorld
sneed
parent
c230b3b455
commit
c41dc15c02
33
schema.sql
33
schema.sql
|
@ -2,8 +2,8 @@
|
|||
-- PostgreSQL database dump
|
||||
--
|
||||
|
||||
-- Dumped from database version 15.3 (Ubuntu 15.3-1.pgdg22.04+1)
|
||||
-- Dumped by pg_dump version 15.3 (Ubuntu 15.3-1.pgdg22.04+1)
|
||||
-- Dumped from database version 15.4 (Ubuntu 15.4-2.pgdg22.04+1)
|
||||
-- Dumped by pg_dump version 15.4 (Ubuntu 15.4-2.pgdg22.04+1)
|
||||
|
||||
SET statement_timeout = 0;
|
||||
SET lock_timeout = 0;
|
||||
|
@ -94,7 +94,7 @@ CREATE TABLE public.users (
|
|||
custom_filter_list character varying(1000) DEFAULT ''::character varying,
|
||||
stored_subscriber_count integer DEFAULT 0 NOT NULL,
|
||||
original_username character varying(30),
|
||||
customtitle character varying(1000),
|
||||
flair_html character varying(1000),
|
||||
defaultsorting character varying(15) NOT NULL,
|
||||
defaulttime character varying(5) NOT NULL,
|
||||
namecolor character varying(6) NOT NULL,
|
||||
|
@ -109,7 +109,7 @@ CREATE TABLE public.users (
|
|||
slurreplacer integer DEFAULT 1 NOT NULL,
|
||||
shadowbanned integer,
|
||||
newtabexternal boolean DEFAULT true NOT NULL,
|
||||
customtitleplain character varying(100),
|
||||
flair character varying(100),
|
||||
themecolor character varying(6) NOT NULL,
|
||||
css character varying(10000),
|
||||
profilecss character varying(10000),
|
||||
|
@ -134,7 +134,7 @@ CREATE TABLE public.users (
|
|||
sig_html character varying(1000),
|
||||
friends character varying(5000),
|
||||
friends_html character varying(20000),
|
||||
sigs_disabled boolean,
|
||||
show_sigs boolean NOT NULL,
|
||||
enemies character varying(5000),
|
||||
enemies_html character varying(20000),
|
||||
fp character varying(21),
|
||||
|
@ -178,7 +178,8 @@ CREATE TABLE public.users (
|
|||
lifetimedonated integer NOT NULL,
|
||||
lifetimedonated_visible boolean NOT NULL,
|
||||
jumpscare integer DEFAULT 0 NOT NULL,
|
||||
zombie integer DEFAULT 0 NOT NULL
|
||||
zombie integer DEFAULT 0 NOT NULL,
|
||||
king integer
|
||||
);
|
||||
|
||||
|
||||
|
@ -427,7 +428,7 @@ CREATE TABLE public.comments (
|
|||
is_approved integer,
|
||||
level integer DEFAULT 0 NOT NULL,
|
||||
parent_comment_id integer,
|
||||
over_18 boolean DEFAULT false NOT NULL,
|
||||
nsfw boolean DEFAULT false NOT NULL,
|
||||
upvotes integer DEFAULT 1 NOT NULL,
|
||||
downvotes integer DEFAULT 0 NOT NULL,
|
||||
is_bot boolean DEFAULT false NOT NULL,
|
||||
|
@ -454,7 +455,8 @@ CREATE TABLE public.comments (
|
|||
ping_cost integer NOT NULL,
|
||||
rainbowed boolean NOT NULL,
|
||||
queened boolean NOT NULL,
|
||||
sharpened boolean NOT NULL
|
||||
sharpened boolean NOT NULL,
|
||||
golden boolean NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
@ -504,7 +506,7 @@ CREATE TABLE public.emojis (
|
|||
submitter_id integer,
|
||||
created_utc integer,
|
||||
kind character varying(15) NOT NULL,
|
||||
over_18 boolean NOT NULL
|
||||
nsfw boolean NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
@ -765,7 +767,7 @@ CREATE TABLE public.posts (
|
|||
author_id integer NOT NULL,
|
||||
created_utc integer NOT NULL,
|
||||
is_banned boolean DEFAULT false NOT NULL,
|
||||
over_18 boolean DEFAULT false NOT NULL,
|
||||
nsfw boolean DEFAULT false NOT NULL,
|
||||
distinguish_level integer DEFAULT 0 NOT NULL,
|
||||
deleted_utc integer DEFAULT 0 NOT NULL,
|
||||
is_approved integer,
|
||||
|
@ -803,7 +805,8 @@ CREATE TABLE public.posts (
|
|||
bump_utc integer NOT NULL,
|
||||
rainbowed boolean NOT NULL,
|
||||
queened boolean NOT NULL,
|
||||
sharpened boolean NOT NULL
|
||||
sharpened boolean NOT NULL,
|
||||
golden boolean NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
@ -1670,7 +1673,7 @@ CREATE INDEX casino_games_winnings_idx ON public.casino_games USING btree (winni
|
|||
-- Name: comment_new_sort_idx; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE INDEX comment_new_sort_idx ON public.comments USING btree (is_banned, deleted_utc, created_utc DESC, over_18);
|
||||
CREATE INDEX comment_new_sort_idx ON public.comments USING btree (is_banned, deleted_utc, created_utc DESC, nsfw);
|
||||
|
||||
|
||||
--
|
||||
|
@ -2083,14 +2086,14 @@ CREATE INDEX post_is_pinned_idx ON public.posts USING btree (is_pinned);
|
|||
-- Name: post_new_sort_idx; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE INDEX post_new_sort_idx ON public.posts USING btree (is_banned, deleted_utc, created_utc DESC, over_18);
|
||||
CREATE INDEX post_new_sort_idx ON public.posts USING btree (is_banned, deleted_utc, created_utc DESC, nsfw);
|
||||
|
||||
|
||||
--
|
||||
-- Name: post_over_18_idx; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE INDEX post_over_18_idx ON public.posts USING btree (over_18);
|
||||
CREATE INDEX post_over_18_idx ON public.posts USING btree (nsfw);
|
||||
|
||||
|
||||
--
|
||||
|
@ -2125,7 +2128,7 @@ CREATE INDEX report_user_idx ON public.reports USING btree (user_id);
|
|||
-- Name: subimssion_binary_group_idx; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE INDEX subimssion_binary_group_idx ON public.posts USING btree (is_banned, deleted_utc, over_18);
|
||||
CREATE INDEX subimssion_binary_group_idx ON public.posts USING btree (is_banned, deleted_utc, nsfw);
|
||||
|
||||
|
||||
--
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
-- PostgreSQL database dump
|
||||
--
|
||||
|
||||
-- Dumped from database version 15.3 (Ubuntu 15.3-1.pgdg22.04+1)
|
||||
-- Dumped by pg_dump version 15.3 (Ubuntu 15.3-1.pgdg22.04+1)
|
||||
-- Dumped from database version 15.4 (Ubuntu 15.4-2.pgdg22.04+1)
|
||||
-- Dumped by pg_dump version 15.4 (Ubuntu 15.4-2.pgdg22.04+1)
|
||||
|
||||
SET statement_timeout = 0;
|
||||
SET lock_timeout = 0;
|
||||
|
|
|
@ -2813,6 +2813,7 @@ INSERT INTO public.emojis (name, kind, author_id, tags) VALUES
|
|||
('marseylenin','Marsey',2,'ussr russia communism socialism marxist commie soviet proletariat marxism marxist leninist leninism revolution bolshevik'),
|
||||
('marseylenny','Marsey',2,'innuendo dirty sex horny emoticon perverted'),
|
||||
('marseyletsfuckinggo2','Marsey',2,'hyped screaming shouting yelling'),
|
||||
('marseyletsgo','Marsey',2,'lfg jump cheer celebrate fist happy jubilant yay'),
|
||||
('marseylgbtflag','Marsey',2,'pride gay queer'),
|
||||
('marseylgbtflag2','Marsey',2,'pride gay inclusive queer ukraine bipoc'),
|
||||
('marseylgbtflag3','Marsey',2,'pride gay rainbow queer'),
|
||||
|
@ -3897,6 +3898,7 @@ INSERT INTO public.emojis (name, kind, author_id, tags) VALUES
|
|||
('marseytedkaczynski3','Marsey',2,'uncle ted prison terrorist beard unabomber old'),
|
||||
('marseytedsimp','Marsey',2,'theodore teddy hat drugs mental illness schizo stims pills happy drugs fun birds stimulants stimmies risperidone'),
|
||||
('marseytedsimp2','Marsey',2,'marsey woman foid female ted simp mid point beanie soy attention bpd whore'),
|
||||
('marseytedsimp3','Marsey',2,'birds birdwatching animals nature binoculars poweruser look point exclaim'),
|
||||
('marseytedwasright','Marsey',2,'ted hes right'),
|
||||
('marseyteehee','Marsey',2,'oops anime sorry cheeky quirky wink silly haha whacky'),
|
||||
('marseytelegram','Marsey',2,'telegram homecoming plane chat messaging russian'),
|
||||
|
@ -4112,6 +4114,7 @@ INSERT INTO public.emojis (name, kind, author_id, tags) VALUES
|
|||
('marseywallst','Marsey',2,'hodl crypto wall street bets invest gme bitcoin wallstreetbets wsb stock'),
|
||||
('marseywalterwhite','Marsey',2,'walter white heisenberg breakingbad meth drugs chemistry'),
|
||||
('marseywanderer','Marsey',2,'marsey genshin wanderer scaramouche balladeer gacha'),
|
||||
('marseywarbler','Marsey',2,'bird americanredstart'),
|
||||
('marseywarboy','Marsey',2,'witness warboy nux madmax mad max apocalyptic evil apocalypse'),
|
||||
('marseywarhol','Marsey',2,'modern art'),
|
||||
('marseywatchingtv','Marsey',2,'familyguy peter griffin television couch'),
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
-- PostgreSQL database dump
|
||||
--
|
||||
|
||||
-- Dumped from database version 15.3 (Ubuntu 15.3-1.pgdg22.04+1)
|
||||
-- Dumped by pg_dump version 15.3 (Ubuntu 15.3-1.pgdg22.04+1)
|
||||
-- Dumped from database version 15.4 (Ubuntu 15.4-2.pgdg22.04+1)
|
||||
-- Dumped by pg_dump version 15.4 (Ubuntu 15.4-2.pgdg22.04+1)
|
||||
|
||||
SET statement_timeout = 0;
|
||||
SET lock_timeout = 0;
|
||||
|
@ -1116,13 +1116,14 @@ INSERT INTO public.hat_defs VALUES (1348, 'Brains', 'BRAAAAINS', 2, 1000, NULL,
|
|||
INSERT INTO public.hat_defs VALUES (1347, 'Rainbow Lightning', 'Color me shocked', 2, 1000, NULL, 1696399418);
|
||||
INSERT INTO public.hat_defs VALUES (1345, 'The Chef', 'Mmm bussy!', 2, 1000, NULL, 1696396948);
|
||||
INSERT INTO public.hat_defs VALUES (1344, 'Fighter', 'Cash me outside', 2, 1000, NULL, 1696392781);
|
||||
INSERT INTO public.hat_defs VALUES (1351, 'Vietnamese Pith Helmet', 'A good hat to wear while fighting the French, the Americans, the Cambodians, or the Chinese', 2, 500, NULL, 1696462997);
|
||||
|
||||
|
||||
--
|
||||
-- Name: hat_defs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
SELECT pg_catalog.setval('public.hat_defs_id_seq', 1350, true);
|
||||
SELECT pg_catalog.setval('public.hat_defs_id_seq', 1351, true);
|
||||
|
||||
|
||||
--
|
||||
|
|
Loading…
Reference in New Issue