stacker.news/prisma/migrations/20230612195325_hn_move_to_tech/migration.sql

4 lines
111 B
SQL

UPDATE "Item"
SET "subName" = 'tech'
WHERE "Item"."parentId" IS NULL
AND "Item"."userId" = 13361; -- hn user id