20180505195736_create_closures.rb 204 Bytes
Newer Older
Zac Wood's avatar
Zac Wood committed
1 2 3 4 5 6 7 8 9 10
class CreateClosures < ActiveRecord::Migration[5.1]
  def change
    create_table :closures do |t|
      t.date :date
      t.references :semester, foreign_key: true

      t.timestamps
    end
  end
end