You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trustieforge/db/migrate/20160627074232_add_column_t...

13 lines
467 B

class AddColumnToSyllabus < ActiveRecord::Migration
def change
add_column :syllabuses, :eng_name, :string
add_column :syllabuses, :type, :integer
add_column :syllabuses, :credit, :integer
add_column :syllabuses, :hours, :integer
add_column :syllabuses, :theory_hours, :integer
add_column :syllabuses, :practice_hours, :integer
add_column :syllabuses, :applicable_major, :string
add_column :syllabuses, :pre_course, :string
end
end