2013-10-18 22:49:20 +02:00
|
|
|
class AddInvitationRequests < ActiveRecord::Migration
|
|
|
|
def up
|
|
|
|
create_table :invitation_requests do |t|
|
|
|
|
t.string :code
|
|
|
|
t.boolean :is_verified, :default => false
|
|
|
|
t.string :email
|
|
|
|
t.string :name
|
|
|
|
t.text :memo
|
|
|
|
t.string :ip_address
|
2013-12-30 23:29:00 +01:00
|
|
|
t.timestamps :null => false
|
2013-10-18 22:49:20 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
drop_table :invitation_requests
|
|
|
|
end
|
|
|
|
end
|