class CreateStudies
Public Instance Methods
change()
click to toggle source
# File lib/tmis/engine/migrations/6_create_studies.rb, line 2 def change create_table :studies do |t| t.references :groupable, :polymorphic => true t.integer :subject_id t.integer :lecturer_id t.integer :cabinet_id t.integer :number t.date :date t.string :color t.timestamps end end