13 lines
467 B
Ruby
13 lines
467 B
Ruby
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
|