Story #105846070 - BusinessRegistryCache to use Arireg service

This commit is contained in:
Matt Farnsworth 2015-12-10 19:08:04 +02:00
parent 38c43d6279
commit d60029d85c
2 changed files with 88 additions and 0 deletions

View file

@ -0,0 +1,13 @@
class CreateBusinessRegistryCaches < ActiveRecord::Migration
def change
create_table :business_registry_caches do |t|
t.string :ident
t.string :ident_country_code
t.datetime :retrieved_on
t.string :associated_businesses, array: true
t.timestamps null: false
end
add_index :business_registry_caches, :ident
end
end