Address depricated, new contact requires, domain_contacts refactor

This commit is contained in:
Priit Tark 2015-03-31 15:15:19 +03:00
parent 0e252b0b6b
commit 5fd73b037a
38 changed files with 402 additions and 501 deletions

View file

@ -0,0 +1,9 @@
class AddAddressAttributes < ActiveRecord::Migration
def change
add_column :contacts, :city, :string
add_column :contacts, :street, :text
add_column :contacts, :zip, :string
add_column :contacts, :country_code, :string
add_column :contacts, :state, :string
end
end