remotes/1693045480750635534/spooky-22
Aevann1 2022-09-14 09:00:02 +00:00
parent a800363d70
commit 2efbb76a1c
1 changed files with 28 additions and 0 deletions

View File

@ -871,6 +871,19 @@ CREATE TABLE public.subscriptions (
);
--
-- Name: transactions; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.transactions (
id character varying(36) NOT NULL,
created_utc integer NOT NULL,
type character varying(12) NOT NULL,
amount integer NOT NULL,
email character varying(255) NOT NULL
);
--
-- Name: userblocks; Type: TABLE; Schema: public; Owner: -
--
@ -1463,6 +1476,14 @@ ALTER TABLE ONLY public.subscriptions
ADD CONSTRAINT subscriptions_pkey PRIMARY KEY (submission_id, user_id);
--
-- Name: transactions transactions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.transactions
ADD CONSTRAINT transactions_pkey PRIMARY KEY (id);
--
-- Name: users uid_unique; Type: CONSTRAINT; Schema: public; Owner: -
--
@ -1948,6 +1969,13 @@ CREATE INDEX subs_idx ON public.subs USING btree (name);
CREATE INDEX subscription_user_index ON public.subscriptions USING btree (user_id);
--
-- Name: transactions_email_idx; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX transactions_email_idx ON public.transactions USING btree (email);
--
-- Name: user_banned_idx; Type: INDEX; Schema: public; Owner: -
--