ecole_eft_app/db/migrate/20140719214911_create_topic_student_groups.rb

11 lines
240 B
Ruby

class CreateTopicStudentGroups < ActiveRecord::Migration
def change
create_table :topic_student_groups do |t|
t.references :topic, index: true
t.references :student_group, index: true
t.timestamps
end
end
end