diff --git a/schema.sql b/schema.sql index c3b505419a..05f96005ee 100644 --- a/schema.sql +++ b/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: - --