mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Replaced address with local and international addr
This commit is contained in:
parent
fe54f327d9
commit
2655da4555
16 changed files with 208 additions and 57 deletions
10
db/migrate/20140822122938_add_postal_info_to_address.rb
Normal file
10
db/migrate/20140822122938_add_postal_info_to_address.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
class AddPostalInfoToAddress < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :addresses, :name, :string
|
||||
add_column :addresses, :org_name, :string
|
||||
add_column :addresses, :type, :string
|
||||
|
||||
remove_column :contacts, :name, :string
|
||||
remove_column :contacts, :org_name, :string
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue