Refactor admin/call_for_booth controller
This commit is contained in:
parent
9103f511a7
commit
318c0d15a4
17 changed files with 182 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
12
db/schema.rb
12
db/schema.rb
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue