schema
This commit is contained in:
parent
ed9f84f114
commit
4e4e66313e
2 changed files with 1 additions and 16 deletions
1
disablesignups
Normal file
1
disablesignups
Normal file
|
@ -0,0 +1 @@
|
||||||
|
yesno
|
16
schema.sql
16
schema.sql
|
@ -678,7 +678,6 @@ CREATE TABLE public.commentvotes (
|
||||||
comment_id integer,
|
comment_id integer,
|
||||||
vote_type integer,
|
vote_type integer,
|
||||||
user_id integer,
|
user_id integer,
|
||||||
created_utc integer,
|
|
||||||
creation_ip character(64),
|
creation_ip character(64),
|
||||||
app_id integer
|
app_id integer
|
||||||
);
|
);
|
||||||
|
@ -1240,7 +1239,6 @@ CREATE TABLE public.votes (
|
||||||
id integer NOT NULL,
|
id integer NOT NULL,
|
||||||
user_id integer NOT NULL,
|
user_id integer NOT NULL,
|
||||||
submission_id integer,
|
submission_id integer,
|
||||||
created_utc integer NOT NULL,
|
|
||||||
vote_type integer,
|
vote_type integer,
|
||||||
creation_ip character(64),
|
creation_ip character(64),
|
||||||
app_id integer
|
app_id integer
|
||||||
|
@ -2056,13 +2054,6 @@ CREATE INDEX commentvotes_comments_id_index ON public.commentvotes USING btree (
|
||||||
CREATE INDEX commentvotes_comments_type_index ON public.commentvotes USING btree (vote_type);
|
CREATE INDEX commentvotes_comments_type_index ON public.commentvotes USING btree (vote_type);
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: cvote_created_idx; Type: INDEX; Schema: public; Owner: postgres
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE INDEX cvote_created_idx ON public.commentvotes USING btree (created_utc);
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: cvote_user_index; Type: INDEX; Schema: public; Owner: postgres
|
-- Name: cvote_user_index; Type: INDEX; Schema: public; Owner: postgres
|
||||||
--
|
--
|
||||||
|
@ -2455,13 +2446,6 @@ CREATE INDEX users_unbanutc_idx ON public.users USING btree (unban_utc DESC);
|
||||||
CREATE INDEX users_username_trgm_idx ON public.users USING gin (username public.gin_trgm_ops);
|
CREATE INDEX users_username_trgm_idx ON public.users USING gin (username public.gin_trgm_ops);
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: vote_created_idx; Type: INDEX; Schema: public; Owner: postgres
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE INDEX vote_created_idx ON public.votes USING btree (created_utc);
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: vote_user_index; Type: INDEX; Schema: public; Owner: postgres
|
-- Name: vote_user_index; Type: INDEX; Schema: public; Owner: postgres
|
||||||
--
|
--
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue