master
Aevann1 2022-09-13 16:00:04 +00:00
parent bab57fd48b
commit d69a853c77
4 changed files with 28 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -871,6 +871,19 @@ CREATE TABLE public.subscriptions (
); );
--
-- Name: transactions; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.transactions (
id integer 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: - -- 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); 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: - -- 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); 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: - -- Name: user_banned_idx; Type: INDEX; Schema: public; Owner: -
-- --