Remove deprecated attribute from Comments
A field from Comment is deprecated and we no longer need it.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class RemoveDeprecatedFieldFromComments < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
remove_column :comments, :deprecated_body, :text
|
||||
end
|
||||
end
|
||||
@@ -397,7 +397,6 @@ ActiveRecord::Schema.define(version: 20200908084257) do
|
||||
create_table "comments", id: :serial, force: :cascade do |t|
|
||||
t.integer "commentable_id"
|
||||
t.string "commentable_type"
|
||||
t.text "deprecated_body"
|
||||
t.string "subject"
|
||||
t.integer "user_id", null: false
|
||||
t.datetime "created_at"
|
||||
|
||||
Reference in New Issue
Block a user