summaryrefslogtreecommitdiff
path: root/db/migrate/20120203120739_create_hunt_group_members.rb
blob: 31eb6202e3c8a534d93465dbf1c147f766f6c411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class CreateHuntGroupMembers < ActiveRecord::Migration
  def self.up
    create_table :hunt_group_members do |t|
      t.integer :hunt_group_id
      t.string :name
      t.integer :position
      t.boolean :active
      t.boolean :can_switch_status_itself
      t.timestamps
    end
  end

  def self.down
    drop_table :hunt_group_members
  end
end