18 lines
372 B
Ruby
18 lines
372 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 :null => false
|
|
end
|
|
end
|
|
|
|
def down
|
|
drop_table :invitation_requests
|
|
end
|
|
end
|