class CreateSubjectAreas < ActiveRecord::Migration
  def change
    create_table :subject_areas do |t|
      t.string :code
      t.string :name
      t.text :remark
      t.integer :parent_id

      t.timestamps
    end
  end
end
