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:
parent
bef07a5834
commit
422cebf87e
2 changed files with 6 additions and 2 deletions
5
db/migrate/20200227214321_remove_sent_from_broadcasts.rb
Normal file
5
db/migrate/20200227214321_remove_sent_from_broadcasts.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class RemoveSentFromBroadcasts < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
safety_assured { remove_column :broadcasts, :sent, :boolean }
|
||||
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_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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue