diff --git a/db/migrate/20240916130319_update_replyable_values_on_messages.rb b/db/migrate/20240916130319_update_replyable_values_on_messages.rb deleted file mode 100644 index 3782777e..00000000 --- a/db/migrate/20240916130319_update_replyable_values_on_messages.rb +++ /dev/null @@ -1,8 +0,0 @@ -class UpdateReplyableValuesOnMessages < ActiveRecord::Migration[7.0] - def change - Message.find_each do |message| - govbox_message = Govbox::Message.find_by(message_id: message.uuid) - message.update(replyable: govbox_message&.replyable? || false) - end - end -end diff --git a/db/schema.rb b/db/schema.rb index d35fee4b..b22c56b6 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[7.1].define(version: 2024_09_16_130319) do +ActiveRecord::Schema[7.1].define(version: 2024_08_20_143244) do # These are extensions that must be enabled in order to support this database enable_extension "pgcrypto" enable_extension "plpgsql"