diff --git a/packages/db/prisma/data-migrations/2025-01-15_update-food-tags.ts b/packages/db/prisma/data-migrations/2025-01-15_update-food-tags.ts index 48ecd4f084..121aced659 100644 --- a/packages/db/prisma/data-migrations/2025-01-15_update-food-tags.ts +++ b/packages/db/prisma/data-migrations/2025-01-15_update-food-tags.ts @@ -31,31 +31,37 @@ export const job20250115_update_food_tags_to_active = { const update = await prisma.$transaction([ prisma.serviceTag.update({ - where: { id: 'svtg_01J1GDWBVVQ9BBBWMDW3J8J4MT' }, + where: { tsKey_tsNs: { tsKey: 'food.community-meals', tsNs: 'services' } }, data: { active: true, }, }), prisma.serviceTag.update({ - where: { id: 'svtg_01J1GDWBWJKRP2H2NC84CXAERQ' }, + where: { tsKey_tsNs: { tsKey: 'food.food-assistance', tsNs: 'services' } }, data: { active: true, }, }), prisma.serviceTag.update({ - where: { id: 'svtg_01J1GDWBWZJAKK8GBQ9GECY6W6' }, + where: { tsKey_tsNs: { tsKey: 'food.food-pantries', tsNs: 'services' } }, data: { active: true, }, }), prisma.serviceTag.update({ - where: { id: 'svtg_01J1GDWBXBWPMPZCNAYNCGEHYP' }, + where: { tsKey_tsNs: { tsKey: 'food.food-delivery', tsNs: 'services' } }, data: { active: true, }, }), prisma.serviceTag.update({ - where: { id: 'svtg_01J1GDWBXYEJX7RJP7XRXJYPAH' }, + where: { tsKey_tsNs: { tsKey: 'food.nutrition-education', tsNs: 'services' } }, + data: { + active: true, + }, + }), + prisma.serviceTag.update({ + where: { tsKey_tsNs: { tsKey: 'housing.drop-in-centers', tsNs: 'services' } }, data: { active: true, },