diff --git a/db/migrate/20200515085746_remove_articles_live_now.rb b/db/migrate/20200515085746_remove_articles_live_now.rb new file mode 100644 index 000000000..f42f78f28 --- /dev/null +++ b/db/migrate/20200515085746_remove_articles_live_now.rb @@ -0,0 +1,5 @@ +class RemoveArticlesLiveNow < ActiveRecord::Migration[5.2] + def change + safety_assured { remove_column :articles, :live_now, :boolean, default: false } + end +end diff --git a/db/schema.rb b/db/schema.rb index 5f1267861..9258fc450 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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