Sha256: d10109a60251ba5972a374b8dfdc8c5e2ba06c60c42a63fbb42f42e7bdd737d7

Contents?: true

Size: 691 Bytes

Versions: 1

Compression:

Stored size: 691 Bytes

Contents

class CreateInvitations < ActiveRecord::Migration
  def change
    create_table :restpack_group_invitations do |t|
      t.integer   :application_id,        :null => false
      t.integer   :group_id,              :null => false
      t.integer   :inviter_id,            :null => false
      t.string    :inviter_name,                          :limit => 128
      t.integer   :invitee_id
      t.integer   :status_id,             :null => false
      t.string    :email,                                 :limit => 512
      t.string    :access_key,                            :limit => 128
      t.datetime  :expires_at
      t.integer   :remaining_uses

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restpack_group_service-0.0.8 db/migrate/20130918113135_create_invitations.rb