created delivery destination model
This commit is contained in:
@@ -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
|
||||
@@ -11,7 +11,8 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150218053655) do
|
||||
ActiveRecord::Schema.define(version: 20150220062314) do
|
||||
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -30,6 +31,22 @@ ActiveRecord::Schema.define(version: 20150218053655) do
|
||||
t.string "image_url"
|
||||
end
|
||||
|
||||
create_table "delivery_destinations", force: :cascade 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.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
create_table "filter_criteria", force: :cascade do |t|
|
||||
t.string "title"
|
||||
t.string "field_name"
|
||||
|
||||
Reference in New Issue
Block a user