status-go/protocol/migrations
Jonathan Rainville 5a8310d5a7
fix(pins)_: delete pins when the og message is deleted (#6173)
Found when fixing https://github.com/status-im/status-desktop/issues/16639

When a message is deleted, we need to delete the pins too as they are no longer available. This was done using an ON DELETE clause (thanks @osmaczko)
I also made sure the SELECT query for the pins doesn't return deleted messages
2024-12-12 13:18:40 -05:00
..
sqlite fix(pins)_: delete pins when the og message is deleted (#6173) 2024-12-12 13:18:40 -05:00