12 lines
190 B
Ruby
12 lines
190 B
Ruby
|
class CreateCourseGroups < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :course_groups do |t|
|
||
|
t.string :name
|
||
|
t.integer :course_id
|
||
|
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|