Add #show for sponsors
This commit is contained in:
parent
de1fa448a2
commit
336c1e86bd
9 changed files with 147 additions and 11 deletions
10
db/migrate/20170822173332_add_swags_to_sponsors.rb
Normal file
10
db/migrate/20170822173332_add_swags_to_sponsors.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
class AddSwagsToSponsors < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :sponsors, :payed, :boolean, default: false
|
||||
add_column :sponsors, :swags, :boolean, default: false
|
||||
add_column :sponsors, :swags_received, :boolean
|
||||
add_column :sponsors, :company_address, :string
|
||||
add_column :sponsors, :vat_registration, :string
|
||||
add_column :sponsors, :has_banner, :boolean, default: false
|
||||
end
|
||||
end
|
||||
14
db/schema.rb
14
db/schema.rb
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20170816203325) do
|
||||
ActiveRecord::Schema.define(version: 20170822173332) do
|
||||
|
||||
create_table "ahoy_events", force: :cascade do |t|
|
||||
t.uuid "visit_id", limit: 16
|
||||
|
|
@ -207,6 +207,9 @@ ActiveRecord::Schema.define(version: 20170816203325) do
|
|||
t.string "cfp_dates_updated_subject"
|
||||
t.text "program_schedule_public_body"
|
||||
t.text "cfp_dates_updated_body"
|
||||
t.text "booths_acceptance_template"
|
||||
t.text "booths_rejection_template"
|
||||
t.string "booths_accetance_subject"
|
||||
t.boolean "send_on_booths_acceptance", default: false
|
||||
t.string "booths_acceptance_subject"
|
||||
t.text "booths_acceptance_body"
|
||||
|
|
@ -325,11 +328,8 @@ ActiveRecord::Schema.define(version: 20170816203325) do
|
|||
t.integer "ticket_purchase_id", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "token"
|
||||
end
|
||||
|
||||
add_index "physical_tickets", ["token"], name: "index_physical_tickets_on_token", unique: true
|
||||
|
||||
create_table "programs", force: :cascade do |t|
|
||||
t.integer "conference_id"
|
||||
t.integer "rating", default: 0
|
||||
|
|
@ -468,6 +468,12 @@ ActiveRecord::Schema.define(version: 20170816203325) do
|
|||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.string "picture"
|
||||
t.boolean "payed", default: false
|
||||
t.boolean "swags", default: false
|
||||
t.boolean "swags_received"
|
||||
t.string "company_address"
|
||||
t.string "vat_registration"
|
||||
t.boolean "has_banner", default: false
|
||||
end
|
||||
|
||||
create_table "sponsorship_levels", force: :cascade do |t|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue