stacker.news/prisma/migrations/20240130165240_existing_pin.../migration.sql

3 lines
157 B
SQL

-- all existing pins shouldn't have a subName
-- this only impacts old daily discussion threads
update "Item" set "subName" = null where "pinId" is not null;