Add #show for sponsors

This commit is contained in:
nasia 2017-08-18 16:07:19 +03:00
parent de1fa448a2
commit 336c1e86bd
9 changed files with 147 additions and 11 deletions

View 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