[deploy] Removed articles.live_now column (#7879)
This commit is contained in:
parent
5505a5e1ce
commit
35e3733314
2 changed files with 6 additions and 2 deletions
5
db/migrate/20200515085746_remove_articles_live_now.rb
Normal file
5
db/migrate/20200515085746_remove_articles_live_now.rb
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue