class CreateLecturers

Public Instance Methods

change() click to toggle source
# File lib/tmis/engine/migrations/5_create_lecturers.rb, line 3
def change
  create_table :lecturers do |t|
    t.string :surname
    t.string :name
    t.string :patronymic
    t.string :preferred_days
    t.boolean :stub, default: false

    t.timestamps
  end
end