mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
parent
4a41984a5c
commit
f86ab085ac
2 changed files with 9 additions and 1 deletions
5
db/migrate/20180228055259_add_registrars_vat_rate.rb
Normal file
5
db/migrate/20180228055259_add_registrars_vat_rate.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
class AddRegistrarsVatRate < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :registrars, :vat_rate, :decimal, precision: 4, scale: 3
|
||||||
|
end
|
||||||
|
end
|
|
@ -2436,7 +2436,8 @@ CREATE TABLE registrars (
|
||||||
legacy_id integer,
|
legacy_id integer,
|
||||||
reference_no character varying,
|
reference_no character varying,
|
||||||
test_registrar boolean DEFAULT false,
|
test_registrar boolean DEFAULT false,
|
||||||
language character varying NOT NULL
|
language character varying NOT NULL,
|
||||||
|
vat_rate numeric(4,3)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -5112,3 +5113,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180214213743');
|
||||||
|
|
||||||
INSERT INTO schema_migrations (version) VALUES ('20180218004148');
|
INSERT INTO schema_migrations (version) VALUES ('20180218004148');
|
||||||
|
|
||||||
|
INSERT INTO schema_migrations (version) VALUES ('20180228055259');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue