Migration: added contact code index and ident country code

This commit is contained in:
Priit Tark 2015-02-17 15:40:20 +02:00
parent 645d475522
commit 915ac3162f
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddCountryCodeIdent < ActiveRecord::Migration
def change
add_column :contacts, :ident_country_code, :string
end
end

View file

@ -0,0 +1,5 @@
class AddIndexForContactCode < ActiveRecord::Migration
def change
add_index :contacts, :code
end
end