d1ed72bb85
* Add pinning of items * Fix empty section in context menu * Pin comments * Fix layout shift during comment pinning * Add comments, rename, formatting * Max 3 pins allowed * Fix argument * Fix missing position update for other items * Improve error message * only show saloon in home * refine pinItem style and transaction usage * pin styling enhancements * simpler handling of excess pins * fix pin positioning like mergePins * give existing pins null subName * prevent empty items on load --------- Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com> Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
3 lines
157 B
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; |