-- Change retryCount from json to integer
ALTER TABLE "Notification"
  ALTER COLUMN "retryCount" TYPE integer USING COALESCE(("retryCount"::text)::integer, 0);

-- Change maxRetries from json to integer
ALTER TABLE "Notification"
  ALTER COLUMN "maxRetries" TYPE integer USING COALESCE(("maxRetries"::text)::integer, 3);
