Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
This commit is contained in:
commit
9a7cdc4d25
1 changed files with 9 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue