spec/dummy/db/schema.rb in dm_event-4.2.2.3 vs spec/dummy/db/schema.rb in dm_event-4.2.3

- old
+ new

@@ -9,11 +9,11 @@ # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20160128154136) do +ActiveRecord::Schema.define(version: 20160821150124) do create_table "cms_blog_translations", force: :cascade do |t| t.integer "cms_blog_id" t.string "locale" t.string "title" @@ -383,12 +383,17 @@ t.integer "comments_count" t.integer "payment_comment_id" t.text "payment_reminder_history" end + add_index "ems_registrations", ["account_id"], name: "index_ems_registrations_on_account_id" + add_index "ems_registrations", ["payment_comment_id"], name: "index_ems_registrations_on_payment_comment_id" add_index "ems_registrations", ["receipt_code"], name: "receipt_code_key" + add_index "ems_registrations", ["user_profile_id"], name: "index_ems_registrations_on_user_profile_id" add_index "ems_registrations", ["uuid"], name: "index_ems_registrations_on_uuid" + add_index "ems_registrations", ["workshop_id"], name: "index_ems_registrations_on_workshop_id" + add_index "ems_registrations", ["workshop_price_id"], name: "index_ems_registrations_on_workshop_price_id" create_table "ems_workshop_price_translations", force: :cascade do |t| t.integer "ems_workshop_price_id" t.string "locale" t.string "price_description" @@ -396,10 +401,12 @@ t.text "payment_details" t.datetime "created_at" t.datetime "updated_at" end + add_index "ems_workshop_price_translations", ["ems_workshop_price_id"], name: "index_ems_workshop_price_translations_on_ems_workshop_price_id" + create_table "ems_workshop_prices", force: :cascade do |t| t.integer "workshop_id" t.integer "price_cents" t.string "price_currency", limit: 10 t.integer "alt1_price_cents" @@ -417,10 +424,13 @@ t.integer "account_id" t.datetime "created_at" t.datetime "updated_at" end + add_index "ems_workshop_prices", ["account_id"], name: "index_ems_workshop_prices_on_account_id" + add_index "ems_workshop_prices", ["workshop_id"], name: "index_ems_workshop_prices_on_workshop_id" + create_table "ems_workshop_translations", force: :cascade do |t| t.integer "ems_workshop_id" t.string "locale" t.string "title" t.text "description" @@ -428,10 +438,12 @@ t.datetime "updated_at" t.text "sidebar" t.text "summary" end + add_index "ems_workshop_translations", ["ems_workshop_id"], name: "index_ems_workshop_translations_on_ems_workshop_id" + create_table "ems_workshops", force: :cascade do |t| t.string "slug" t.datetime "starting_on" t.datetime "ending_on" t.date "deadline_on" @@ -455,11 +467,14 @@ t.string "event_style", default: "workshop" t.integer "funding_goal_cents", default: 0 t.boolean "payments_enabled" t.boolean "show_address" t.string "image" + t.boolean "bcc_contact_email", default: false end + add_index "ems_workshops", ["account_id"], name: "index_ems_workshops_on_account_id" + add_index "ems_workshops", ["country_id"], name: "index_ems_workshops_on_country_id" add_index "ems_workshops", ["slug"], name: "workshopname_key" create_table "follows", force: :cascade do |t| t.integer "followable_id", null: false t.string "followable_type", null: false