Revert "Remove PaperTrail columns from prices DB table"

This reverts commit 5aa949847ad391f72d6df5bf714573012a7d9cec.
This commit is contained in:
Alex Sherman 2020-09-10 16:21:42 +05:00
parent 86ea2319c8
commit 6d908f6969

View file

@ -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,
@ -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,
@ -2124,7 +2122,7 @@ 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 (
@ -2132,13 +2130,13 @@ CREATE TABLE public.prices (
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
);
@ -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);
@ -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
@ -4801,7 +4806,6 @@ INSERT INTO "schema_migrations" (version) VALUES
('20180825193437'),
('20180825232819'),
('20180826162821'),
('20180916133911'),
('20181001090536'),
('20181002090319'),
('20181017092829'),
@ -4875,6 +4879,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20191203083643'),
('20191206183853'),
('20191212133136'),
('20191217013225'),
('20191219112434'),
('20191219124429'),
('20191227110904'),