created delivery destination model

This commit is contained in:
Senad Uka
2015-02-20 07:33:26 +01:00
parent 47017b6830
commit 53fc9f0b99
10 changed files with 123 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
class CreateDeliveryDestinations < ActiveRecord::Migration
def change
create_table :delivery_destinations do |t|
t.string :name
t.string :address
t.string :place
t.string :postal_code
t.string :phone
t.string :email
t.text :note
t.boolean :email_verified
t.boolean :phone_verified
t.string :phone_verification_code
t.string :email_verification_code
t.timestamps null: false
end
end
end