This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
|
class AddInvitations < ActiveRecord::Migration
|
|
def self.up
|
|
create_table :invitations do |t|
|
|
t.string :code, :limit => 32
|
|
end
|
|
add_index :invitations, :code
|
|
end
|
|
|
|
def self.down
|
|
drop_table :invitations
|
|
end
|
|
end |