socialforge/db/migrate/20130911005626_create_stude...

11 lines
209 B
Ruby
Raw Normal View History

2013-09-12 10:41:15 +08:00
class CreateStudentsForCourses < ActiveRecord::Migration
def change
create_table :students_for_courses do |t|
t.integer :student_id
t.integer :course_id
t.timestamps
end
end
end