pragaashp/hermione-app

View on GitHub
db/migrate/20160402191719_create_courses.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateCourses < ActiveRecord::Migration
  def change
    create_table :courses do |t|
      t.integer :ccn
      t.string :title
      t.string :abbreviation
      t.string :location
      t.string :days
      t.string :start_time
      t.string :end_time
      t.timestamps null: false
    end
  end
end