fiedl/your_platform

View on GitHub
demo_app/my_platform/db/migrate/20160908104540_create_semester_calendars.your_platform.rb

Summary

Maintainability
A
0 mins
Test Coverage
# This migration comes from your_platform (originally 20160830121404)
class CreateSemesterCalendars < ActiveRecord::Migration[4.2]
  def change
    create_table :semester_calendars do |t|
      t.integer :group_id
      t.integer :year
      t.integer :term

      t.timestamps null: false
    end
  end
end