18 lines
357 B
Ruby
18 lines
357 B
Ruby
|
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
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
drop_table :invitation_requests
|
||
|
end
|
||
|
end
|