9 lines
161 B
Ruby
9 lines
161 B
Ruby
|
class CreateGroups < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :groups do |t|
|
||
|
t.string :name, null: false
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|