changes
This commit is contained in:
parent
336c1e86bd
commit
a0e1760ef1
8 changed files with 79 additions and 48 deletions
|
|
@ -1,10 +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, :paid, :boolean, default: false
|
||||
add_column :sponsors, :has_swag, :boolean, default: false
|
||||
add_column :sponsors, :swag_received, :boolean
|
||||
add_column :sponsors, :address, :string
|
||||
add_column :sponsors, :vat, :string
|
||||
add_column :sponsors, :has_banner, :boolean, default: false
|
||||
end
|
||||
end
|
||||
|
|
|
|||
10
db/schema.rb
10
db/schema.rb
|
|
@ -468,11 +468,11 @@ 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", default: false
|
||||
t.boolean "swags_received"
|
||||
t.string "company_address"
|
||||
t.string "vat_registration"
|
||||
t.boolean "paid", default: false
|
||||
t.boolean "has_swag", default: false
|
||||
t.boolean "swag_received"
|
||||
t.string "address"
|
||||
t.string "vat"
|
||||
t.boolean "has_banner", default: false
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue