mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Merge remote-tracking branch 'origin/master' into 110687814-update_values
# Conflicts: # app/models/epp/domain.rb
This commit is contained in:
commit
ae3467a8b1
304 changed files with 3676 additions and 426401 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
|
5
db/migrate/20160218102355_index_domain_statuses.rb
Normal file
5
db/migrate/20160218102355_index_domain_statuses.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class IndexDomainStatuses < ActiveRecord::Migration
|
||||
def change
|
||||
add_index :domains, :statuses, using: :gin
|
||||
end
|
||||
end
|
|
@ -0,0 +1,6 @@
|
|||
class AddInvoiceNumberToDirecto < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :directos, :invoice_number, :string
|
||||
execute "UPDATE directos d SET invoice_number=i.number FROM invoices i WHERE d.item_type='Invoice' AND d.item_id=i.id"
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
class AddTestRegistrarToRegistrar < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :registrars, :test_registrar, :boolean, default: false
|
||||
end
|
||||
end
|
5
db/migrate/20160405131315_add_request_to_directo.rb
Normal file
5
db/migrate/20160405131315_add_request_to_directo.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddRequestToDirecto < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :directos, :request, :text
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue