-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
167 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
-- Dumped from database version 14.1 | ||
|
||
|
||
-- | ||
-- Name: linked_account; Type: TABLE; Schema: public | ||
-- | ||
|
||
CREATE TABLE public.linked_account ( | ||
id integer NOT NULL, | ||
last_updated bigint, | ||
discord character varying(255), | ||
username character varying(255), | ||
uuid character varying(255) | ||
); | ||
|
||
|
||
-- | ||
-- Name: linked_account_id_seq; Type: SEQUENCE; Schema: public | ||
-- | ||
|
||
CREATE SEQUENCE public.linked_account_id_seq | ||
AS integer | ||
START WITH 1 | ||
INCREMENT BY 1 | ||
NO MINVALUE | ||
NO MAXVALUE | ||
CACHE 1; | ||
|
||
|
||
-- | ||
-- Name: linked_account_id_seq; Type: SEQUENCE OWNED BY; Schema: public | ||
-- | ||
|
||
ALTER SEQUENCE public.linked_account_id_seq OWNED BY public.linked_account.id; | ||
|
||
|
||
-- | ||
-- Name: linked_account id; Type: DEFAULT; Schema: public | ||
-- | ||
|
||
ALTER TABLE ONLY public.linked_account ALTER COLUMN id SET DEFAULT nextval('public.linked_account_id_seq'::regclass); | ||
|
||
|
||
-- | ||
-- Name: linked_account linked_account_discord_key; Type: CONSTRAINT; Schema: public | ||
-- | ||
|
||
ALTER TABLE ONLY public.linked_account | ||
ADD CONSTRAINT linked_account_discord_key UNIQUE (discord); | ||
|
||
|
||
-- | ||
-- Name: linked_account linked_account_pkey; Type: CONSTRAINT; Schema: public | ||
-- | ||
|
||
ALTER TABLE ONLY public.linked_account | ||
ADD CONSTRAINT linked_account_pkey PRIMARY KEY (id); | ||
|
||
|
||
-- | ||
-- Name: linked_account linked_account_username_key; Type: CONSTRAINT; Schema: public | ||
-- | ||
|
||
ALTER TABLE ONLY public.linked_account | ||
ADD CONSTRAINT linked_account_username_key UNIQUE (username); | ||
|
||
|
||
-- | ||
-- Name: linked_account linked_account_uuid_key; Type: CONSTRAINT; Schema: public | ||
-- | ||
|
||
ALTER TABLE ONLY public.linked_account | ||
ADD CONSTRAINT linked_account_uuid_key UNIQUE (uuid); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.