mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 21:25:39 +02:00
parent
6a01226138
commit
37cc05e44c
4 changed files with 7 additions and 3 deletions
5
db/migrate/20180228074442_remove_registrars_vat.rb
Normal file
5
db/migrate/20180228074442_remove_registrars_vat.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
class RemoveRegistrarsVat < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
remove_column :registrars, :vat, :boolean
|
||||||
|
end
|
||||||
|
end
|
|
@ -2432,7 +2432,6 @@ CREATE TABLE registrars (
|
||||||
code character varying,
|
code character varying,
|
||||||
website character varying,
|
website character varying,
|
||||||
accounting_customer_code character varying NOT NULL,
|
accounting_customer_code character varying NOT NULL,
|
||||||
vat boolean,
|
|
||||||
legacy_id integer,
|
legacy_id integer,
|
||||||
reference_no character varying,
|
reference_no character varying,
|
||||||
test_registrar boolean DEFAULT false,
|
test_registrar boolean DEFAULT false,
|
||||||
|
@ -5121,3 +5120,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180228070102');
|
||||||
|
|
||||||
INSERT INTO schema_migrations (version) VALUES ('20180228070431');
|
INSERT INTO schema_migrations (version) VALUES ('20180228070431');
|
||||||
|
|
||||||
|
INSERT INTO schema_migrations (version) VALUES ('20180228074442');
|
||||||
|
|
||||||
|
|
|
@ -1556,7 +1556,6 @@
|
||||||
<text text-anchor="start" x="1600.5" y="-2399.3" font-family="Times,serif" font-size="14.00">zip :string</text>
|
<text text-anchor="start" x="1600.5" y="-2399.3" font-family="Times,serif" font-size="14.00">zip :string</text>
|
||||||
<text text-anchor="start" x="1600.5" y="-2384.3" font-family="Times,serif" font-size="14.00">code :string</text>
|
<text text-anchor="start" x="1600.5" y="-2384.3" font-family="Times,serif" font-size="14.00">code :string</text>
|
||||||
<text text-anchor="start" x="1600.5" y="-2369.3" font-family="Times,serif" font-size="14.00">url :string</text>
|
<text text-anchor="start" x="1600.5" y="-2369.3" font-family="Times,serif" font-size="14.00">url :string</text>
|
||||||
<text text-anchor="start" x="1600.5" y="-2339.3" font-family="Times,serif" font-size="14.00">vat :boolean</text>
|
|
||||||
<text text-anchor="start" x="1600.5" y="-2324.3" font-family="Times,serif" font-size="14.00">legacy_id :integer</text>
|
<text text-anchor="start" x="1600.5" y="-2324.3" font-family="Times,serif" font-size="14.00">legacy_id :integer</text>
|
||||||
<text text-anchor="start" x="1600.5" y="-2309.3" font-family="Times,serif" font-size="14.00">reference_no :string</text>
|
<text text-anchor="start" x="1600.5" y="-2309.3" font-family="Times,serif" font-size="14.00">reference_no :string</text>
|
||||||
</g>
|
</g>
|
||||||
|
|
Before Width: | Height: | Size: 228 KiB After Width: | Height: | Size: 228 KiB |
|
@ -88,7 +88,6 @@ namespace :import do
|
||||||
zip: x.postalcode.try(:strip),
|
zip: x.postalcode.try(:strip),
|
||||||
url: x.url.try(:strip),
|
url: x.url.try(:strip),
|
||||||
accounting_customer_code: x.directo_handle.try(:strip),
|
accounting_customer_code: x.directo_handle.try(:strip),
|
||||||
vat: x.vat,
|
|
||||||
legacy_id: x.id,
|
legacy_id: x.id,
|
||||||
creator_str: user,
|
creator_str: user,
|
||||||
updator_str: user,
|
updator_str: user,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue