chore: Fix issues with notification actors (#1807)

This commit is contained in:
Sojan Jose
2021-02-19 18:35:21 +05:30
committed by GitHub
parent eec90a1319
commit 1612f515b0
6 changed files with 23 additions and 16 deletions

View File

@@ -0,0 +1,5 @@
class RemoveOldNotifications < ActiveRecord::Migration[6.0]
def change
Notification.where(notification_type: 'assigned_conversation_new_message').destroy_all
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: 2021_02_17_154129) do
ActiveRecord::Schema.define(version: 2021_02_19_085719) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_stat_statements"