summaryrefslogtreecommitdiff
path: root/db/migrate/20130222074610_create_groups.rb
blob: e5848b9a2a10ac104ec399e0793bce115dd40874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class CreateGroups < ActiveRecord::Migration
  def self.up
    create_table :groups do |t|
      t.string :name
      t.boolean :active
      t.string :comment
      t.timestamps
    end
  end

  def self.down
    drop_table :groups
  end
end