Add migration to fix missing item bio marker (#1295)
This commit is contained in:
parent
ce7d2b888d
commit
454ad26bd7
|
@ -0,0 +1,4 @@
|
|||
-- fix missing 'bio' marker for bios
|
||||
UPDATE "Item" SET bio = 't' WHERE id IN (
|
||||
SELECT "bioId" FROM users WHERE "bioId" IS NOT NULL
|
||||
);
|
Loading…
Reference in New Issue