Adding more registration options, and starting work on supporter levels
This commit is contained in:
parent
61a02d17a3
commit
973913b3bf
25 changed files with 228 additions and 20 deletions
|
|
@ -0,0 +1,15 @@
|
|||
class CreateTableSupporterRegistrations < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :supporter_registrations do |t|
|
||||
t.references :registration
|
||||
t.references :supporter_level
|
||||
t.string :email
|
||||
t.string :code
|
||||
t.boolean :code_is_valid, :default => false
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
drop_table :supporter_registrations
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue