2014-05-26 13:51:03 +05:30
|
|
|
class CreateSponsorshipRegistrations < ActiveRecord::Migration
|
|
|
|
|
def change
|
|
|
|
|
create_table :sponsorship_registrations do |t|
|
2014-05-26 15:43:19 +05:30
|
|
|
t.string :name
|
|
|
|
|
t.string :email_id
|
|
|
|
|
t.string :contact_no
|
|
|
|
|
t.float :amount_donated
|
|
|
|
|
t.string :method_of_donation
|
2014-05-26 13:51:03 +05:30
|
|
|
t.belongs_to :organization
|
|
|
|
|
t.belongs_to :sponsorship_level
|
|
|
|
|
t.belongs_to :conference
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|