forked from rDrama/rDrama
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
commit
6311e06c75
10
schema.sql
10
schema.sql
|
@ -810,7 +810,8 @@ CREATE TABLE public.users (
|
||||||
fish boolean,
|
fish boolean,
|
||||||
lootboxes_bought integer,
|
lootboxes_bought integer,
|
||||||
progressivestack integer,
|
progressivestack integer,
|
||||||
winnings integer
|
winnings integer,
|
||||||
|
patron_utc integer
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -1344,6 +1345,13 @@ ALTER TABLE ONLY public.votes
|
||||||
ADD CONSTRAINT votes_pkey PRIMARY KEY (id);
|
ADD CONSTRAINT votes_pkey PRIMARY KEY (id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: alts_unique_combination; Type: INDEX; Schema: public; Owner: -
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE UNIQUE INDEX alts_unique_combination ON public.alts USING btree (GREATEST(user1, user2), LEAST(user1, user2));
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: alts_user1_idx; Type: INDEX; Schema: public; Owner: -
|
-- Name: alts_user1_idx; Type: INDEX; Schema: public; Owner: -
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in New Issue