mirror of
https://github.com/internetee/registry.git
synced 2025-06-04 11:47:30 +02:00
Remove PaperTrail columns from prices
DB table
PaperTrail's `Version` model itself has been removed in #475, so those columns are now useless
This commit is contained in:
parent
66288fe160
commit
e03ae63acf
2 changed files with 8 additions and 2 deletions
|
@ -0,0 +1,6 @@
|
|||
class RemovePaperTrailColumnsFromPrices < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :prices, :creator_str
|
||||
remove_column :prices, :updator_str
|
||||
end
|
||||
end
|
|
@ -2092,8 +2092,6 @@ CREATE TABLE public.prices (
|
|||
price_cents integer NOT NULL,
|
||||
valid_from timestamp without time zone,
|
||||
valid_to timestamp without time zone,
|
||||
creator_str character varying,
|
||||
updator_str character varying,
|
||||
created_at timestamp without time zone NOT NULL,
|
||||
updated_at timestamp without time zone NOT NULL,
|
||||
duration interval,
|
||||
|
@ -4854,3 +4852,5 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||
('20200910085157');
|
||||
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180916133911');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue