Change fields and views
This commit is contained in:
parent
30e70cc5d6
commit
819d55366c
11 changed files with 73 additions and 65 deletions
|
|
@ -1,13 +1,14 @@
|
|||
class AddSwagsToSponsors < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :sponsors, :paid, :boolean, default: false
|
||||
add_column :sponsors, :amount, :float
|
||||
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
|
||||
add_column :sponsors, :swag, :text
|
||||
add_column :sponsors, :courier_info, :text
|
||||
add_column :sponsors, :swag_transportation, :text
|
||||
add_column :sponsors, :state, :string
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue