Commit 55afa526 authored by marcheing's avatar marcheing

Add migration to remove description from content

parent a28afa0b
class RemoveDescriptionFromContent < ActiveRecord::Migration[5.0]
def change
remove_column :contents, :description
end
end
......@@ -11,11 +11,10 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20160624142640) do
ActiveRecord::Schema.define(version: 20160701135238) do
create_table "contents", force: :cascade do |t|
t.string "title", null: false
t.string "description"
t.integer "user_id", null: false
t.boolean "adult", default: false, null: false
t.integer "rating"
......
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