Change pricelists.duration column type to interval

#475
This commit is contained in:
Artur Beljajev 2017-04-23 17:59:17 +03:00
parent 8e90769366
commit 2ff05c4b00
3 changed files with 11 additions and 2 deletions

View file

@ -2542,7 +2542,7 @@ CREATE TABLE pricelists (
updator_str character varying,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
duration character varying,
duration interval,
operation_category character varying
);
@ -5221,3 +5221,5 @@ INSERT INTO schema_migrations (version) VALUES ('20170422130054');
INSERT INTO schema_migrations (version) VALUES ('20170422142116');
INSERT INTO schema_migrations (version) VALUES ('20170422162824');