mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
Migration: added contact code index and ident country code
This commit is contained in:
parent
645d475522
commit
915ac3162f
3 changed files with 14 additions and 1 deletions
5
db/migrate/20150217133755_add_country_code_ident.rb
Normal file
5
db/migrate/20150217133755_add_country_code_ident.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddCountryCodeIdent < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :contacts, :ident_country_code, :string
|
||||
end
|
||||
end
|
5
db/migrate/20150217133937_add_index_for_contact_code.rb
Normal file
5
db/migrate/20150217133937_add_index_for_contact_code.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddIndexForContactCode < ActiveRecord::Migration
|
||||
def change
|
||||
add_index :contacts, :code
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue