summaryrefslogtreecommitdiff
path: root/db/migrate/20120203093048_create_hunt_groups.rb
blob: 1f2cfb622274553d3af8665c83c6af8ce0a78ac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class CreateHuntGroups < ActiveRecord::Migration
  def self.up
    create_table :hunt_groups do |t|
      t.integer :tenant_id
      t.string :name
      t.string :strategy
      t.integer :seconds_between_jumps
      t.timestamps
    end
  end

  def self.down
    drop_table :hunt_groups
  end
end