Refactor admin/call_for_booth controller

This commit is contained in:
nasia 2017-06-10 23:50:31 +03:00
parent 9103f511a7
commit 318c0d15a4
17 changed files with 182 additions and 18 deletions

View file

@ -4,6 +4,7 @@ class CreateCallForBooths < ActiveRecord::Migration
t.date :start_date
t.date :end_date
t.integer :booth_limit
t.references :conference
t.timestamps null: false
end

View file

@ -11,8 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20170531094819) do
ActiveRecord::Schema.define(version: 20170606182954) do
create_table "ahoy_events", force: :cascade do |t|
t.uuid "visit_id", limit: 16
@ -54,6 +53,15 @@ ActiveRecord::Schema.define(version: 20170531094819) do
t.datetime "updated_at", null: false
end
create_table "call_for_booths", force: :cascade do |t|
t.date "start_date"
t.date "end_date"
t.integer "booth_limit"
t.integer "conference_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "campaigns", force: :cascade do |t|
t.integer "conference_id"
t.string "name"