Adds sponsorship levels model
This commit is contained in:
parent
069cc0eb4c
commit
8bce579283
6 changed files with 69 additions and 9 deletions
10
db/migrate/20140605055802_create_sponsorship_levels.rb
Normal file
10
db/migrate/20140605055802_create_sponsorship_levels.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
class CreateSponsorshipLevels < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :sponsorship_levels do |t|
|
||||
t.string :title
|
||||
t.string :donation_amount
|
||||
t.belongs_to :conference
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue