sneed
parent
951f873a91
commit
735a23ad32
10
schema.sql
10
schema.sql
|
@ -810,7 +810,8 @@ CREATE TABLE public.users (
|
|||
fish boolean,
|
||||
lootboxes_bought 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);
|
||||
|
||||
|
||||
--
|
||||
-- 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: -
|
||||
--
|
||||
|
|
Loading…
Reference in New Issue