Remove sent attribute from broadcasts table (#6350) [deploy]

Now that 6318 and 6319 have been merged, we no longer need the `sent` attribute on the Broadcast model.
This commit is contained in:
Vaidehi Joshi 2020-02-27 14:36:26 -08:00 committed by GitHub
parent bef07a5834
commit 422cebf87e
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 RemoveSentFromBroadcasts < ActiveRecord::Migration[5.2]
def change
safety_assured { remove_column :broadcasts, :sent, :boolean }
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_02_26_192145) do
ActiveRecord::Schema.define(version: 2020_02_27_214321) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -227,7 +227,6 @@ ActiveRecord::Schema.define(version: 2020_02_26_192145) do
t.boolean "active", default: false
t.text "body_markdown"
t.text "processed_html"
t.boolean "sent", default: false
t.string "title"
t.string "type_of"
end