20121002150926_create_groups.rb 235 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
class CreateGroups < ActiveRecord::Migration
  def change
    create_table :groups do |t|
      t.string :name, null: false
      t.string :code, null: false
      t.integer :owner_id, null: false

      t.timestamps
    end
  end
end