Class: CreateLecturers
- Defined in:
- lib/tmis/engine/migrations/5_create_lecturers.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# 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. end end |