[deploy] Removed articles.live_now column (#7879)

This commit is contained in:
Anna Buianova 2020-05-15 18:37:28 +03:00 committed by GitHub
parent 5505a5e1ce
commit 35e3733314
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -0,0 +1,5 @@
class RemoveArticlesLiveNow < ActiveRecord::Migration[5.2]
def change
safety_assured { remove_column :articles, :live_now, :boolean, default: false }
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2020_05_11_224704) do
ActiveRecord::Schema.define(version: 2020_05_15_085746) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -80,7 +80,6 @@ ActiveRecord::Schema.define(version: 2020_05_11_224704) do
t.datetime "last_buffered"
t.datetime "last_comment_at", default: "2017-01-01 05:00:00"
t.datetime "last_experience_level_rating_at"
t.boolean "live_now", default: false
t.string "main_image"
t.string "main_image_background_hex_color", default: "#dddddd"
t.integer "nth_published_by_author", default: 0