Commit a2ab15d6 authored by Zac Wood's avatar Zac Wood
Browse files

Gets rid of unused columns in Course

parent ed3d3716
Pipeline #3028 passed with stage
in 2 minutes and 15 seconds
class RemoveColumnsFromCourse < ActiveRecord::Migration[5.1]
def change
remove_columns :courses, :prerequisite, :restrictions
......@@ -10,7 +10,7 @@
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20180927133105) do
ActiveRecord::Schema.define(version: 20180927140017) do
create_table "closures", force: :cascade do |t| "date"
......@@ -51,8 +51,6 @@ ActiveRecord::Schema.define(version: 20180927133105) do
t.datetime "updated_at", null: false
t.string "description"
t.string "credits"
t.string "prerequisite"
t.string "restrictions"
t.string "title"
t.string "prereqs"
t.index ["semester_id"], name: "index_courses_on_semester_id"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment