diff --git a/db/migrate/20200227214321_remove_sent_from_broadcasts.rb b/db/migrate/20200227214321_remove_sent_from_broadcasts.rb new file mode 100644 index 000000000..fc55da0a6 --- /dev/null +++ b/db/migrate/20200227214321_remove_sent_from_broadcasts.rb @@ -0,0 +1,5 @@ +class RemoveSentFromBroadcasts < ActiveRecord::Migration[5.2] + def change + safety_assured { remove_column :broadcasts, :sent, :boolean } + end +end diff --git a/db/schema.rb b/db/schema.rb index 1a6d8b5b8..db86d31a5 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_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