mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
parent
3d107bd198
commit
b68fe6e312
16 changed files with 110 additions and 92 deletions
|
@ -0,0 +1,5 @@
|
|||
class RenameInvoicesSumCacheToTotal < ActiveRecord::Migration
|
||||
def change
|
||||
rename_column :invoices, :sum_cache, :total
|
||||
end
|
||||
end
|
|
@ -1036,7 +1036,7 @@ CREATE TABLE invoices (
|
|||
updator_str character varying,
|
||||
number integer,
|
||||
cancelled_at timestamp without time zone,
|
||||
sum_cache numeric(10,2),
|
||||
total numeric(10,2),
|
||||
in_directo boolean DEFAULT false
|
||||
);
|
||||
|
||||
|
@ -4714,3 +4714,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180309054510');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180310142630');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180313090437');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue