diff options
Diffstat (limited to 'db/migrate/20120203120739_create_hunt_group_members.rb')
-rw-r--r-- | db/migrate/20120203120739_create_hunt_group_members.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20120203120739_create_hunt_group_members.rb b/db/migrate/20120203120739_create_hunt_group_members.rb new file mode 100644 index 0000000..31eb620 --- /dev/null +++ b/db/migrate/20120203120739_create_hunt_group_members.rb @@ -0,0 +1,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 |