mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Story #105846070 - BusinessRegistryCache to use Arireg service
This commit is contained in:
parent
38c43d6279
commit
d60029d85c
2 changed files with 88 additions and 0 deletions
13
db/migrate/20151209122816_create_business_registry_caches.rb
Normal file
13
db/migrate/20151209122816_create_business_registry_caches.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue