Add confirmed sponsors

This commit is contained in:
nasia 2017-08-27 15:42:52 +03:00
parent b770f9bd4d
commit 792a7fed1c
10 changed files with 162 additions and 65 deletions

View file

@ -7,5 +7,7 @@ class AddSwagsToSponsors < ActiveRecord::Migration
add_column :sponsors, :vat, :string
add_column :sponsors, :has_banner, :boolean, default: false
add_column :sponsors, :swags, :text
add_column :sponsors, :courrier_info, :text
add_column :sponsors, :state, :string
end
end

View file

@ -468,11 +468,6 @@ ActiveRecord::Schema.define(version: 20170822173332) do
t.datetime "created_at"
t.datetime "updated_at"
t.string "picture"
t.boolean "payed", default: false
t.boolean "swags_received"
t.string "company_address"
t.string "vat_registration"
t.text "swag_hash"
t.boolean "paid", default: false
t.boolean "has_swag", default: false
t.boolean "swag_received"
@ -480,6 +475,8 @@ ActiveRecord::Schema.define(version: 20170822173332) do
t.string "vat"
t.boolean "has_banner", default: false
t.text "swags"
t.text "courrier_info"
t.string "state"
end
create_table "sponsorship_levels", force: :cascade do |t|