Skip to content

Commit

Permalink
Revert "Remove PaperTrail columns from prices DB table"
Browse files Browse the repository at this point in the history
This reverts commit 5aa9498.
  • Loading branch information
yulgolem committed Sep 11, 2020
1 parent ed713b5 commit 8f1a4aa
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ CREATE TABLE public.bank_statements (
id integer NOT NULL,
bank_code character varying,
iban character varying,
import_file_path character varying,
queried_at timestamp without time zone,
created_at timestamp without time zone,
updated_at timestamp without time zone,
Expand Down Expand Up @@ -778,7 +777,6 @@ CREATE TABLE public.domains (
id integer NOT NULL,
name character varying NOT NULL,
registrar_id integer NOT NULL,
registered_at timestamp without time zone,
valid_to timestamp without time zone NOT NULL,
registrant_id integer NOT NULL,
transfer_code character varying NOT NULL,
Expand Down Expand Up @@ -2124,21 +2122,21 @@ ALTER SEQUENCE public.payment_orders_id_seq OWNED BY public.payment_orders.id;


--
-- Name: prices; Type: TABLE; Schema: public; Owner: -
-- Name: prices; Type: TABLE; Schema: public; Owner: -; Tablespace:
--

CREATE TABLE public.prices (
id integer NOT NULL,
price_cents integer NOT NULL,
valid_from timestamp without time zone,
valid_to timestamp without time zone,
updator_str character varying,
creator_str character varying,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
duration interval,
operation_category character varying,
zone_id integer NOT NULL,
updator_str character varying,
creator_str character varying
zone_id integer NOT NULL
);


Expand Down Expand Up @@ -2878,7 +2876,14 @@ ALTER TABLE ONLY public.log_payment_orders ALTER COLUMN id SET DEFAULT nextval('


--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
-- Name: log_prices id; Type: DEFAULT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.log_prices ALTER COLUMN id SET DEFAULT nextval('public.log_prices_id_seq'::regclass);


--
-- Name: log_registrant_verifications id; Type: DEFAULT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.log_registrant_verifications ALTER COLUMN id SET DEFAULT nextval('public.log_registrant_verifications_id_seq'::regclass);
Expand Down Expand Up @@ -3360,7 +3365,7 @@ ALTER TABLE ONLY public.log_registrant_verifications


--
-- Name: log_registrars log_registrars_pkey; Type: CONSTRAINT; Schema: public; Owner: -
-- Name: log_registrars_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--

ALTER TABLE ONLY public.log_registrars
Expand Down Expand Up @@ -4801,7 +4806,6 @@ INSERT INTO "schema_migrations" (version) VALUES
('20180825193437'),
('20180825232819'),
('20180826162821'),
('20180916133911'),
('20181001090536'),
('20181002090319'),
('20181017092829'),
Expand Down Expand Up @@ -4875,6 +4879,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20191203083643'),
('20191206183853'),
('20191212133136'),
('20191217013225'),
('20191219112434'),
('20191219124429'),
('20191227110904'),
Expand Down

0 comments on commit 8f1a4aa

Please sign in to comment.