2017-08-18 16:07:19 +03:00
|
|
|
class AddSwagsToSponsors < ActiveRecord::Migration
|
|
|
|
|
def change
|
2017-08-23 12:26:46 +03:00
|
|
|
add_column :sponsors, :paid, :boolean, default: false
|
2017-08-28 15:24:51 +03:00
|
|
|
add_column :sponsors, :amount, :float
|
2017-08-23 12:26:46 +03:00
|
|
|
add_column :sponsors, :has_swag, :boolean, default: false
|
|
|
|
|
add_column :sponsors, :swag_received, :boolean
|
|
|
|
|
add_column :sponsors, :address, :string
|
|
|
|
|
add_column :sponsors, :vat, :string
|
2017-08-18 16:07:19 +03:00
|
|
|
add_column :sponsors, :has_banner, :boolean, default: false
|
2017-08-27 23:40:32 +03:00
|
|
|
add_column :sponsors, :swag, :text
|
2017-08-28 15:24:51 +03:00
|
|
|
add_column :sponsors, :swag_transportation, :text
|
2017-08-27 15:42:52 +03:00
|
|
|
add_column :sponsors, :state, :string
|
2017-08-31 22:04:12 +03:00
|
|
|
add_column :sponsors, :responsibe, :text
|
2017-08-18 16:07:19 +03:00
|
|
|
end
|
|
|
|
|
end
|