mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 12:47:29 +02:00
parent
dc620e7780
commit
fccc6eb9f0
2 changed files with 8 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
|||
class ChangeInvoicesVatRateType < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :invoices, :vat_rate, :decimal, precision: 4, scale: 3
|
||||
end
|
||||
end
|
|
@ -1127,7 +1127,7 @@ CREATE TABLE invoices (
|
|||
currency character varying NOT NULL,
|
||||
description character varying,
|
||||
reference_no character varying,
|
||||
vat_rate numeric(10,2) NOT NULL,
|
||||
vat_rate numeric(4,3) NOT NULL,
|
||||
paid_at timestamp without time zone,
|
||||
seller_id integer,
|
||||
seller_name character varying NOT NULL,
|
||||
|
@ -5117,3 +5117,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180228055259');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180228064342');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180228070102');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue