Files
OwnCord/Server/db
jevb 31d90434fd fix: handle BEGIN...END blocks in SQL migration splitter
The splitStatements function naively split on every semicolon, breaking
CREATE TRIGGER definitions that contain semicolons inside their
BEGIN...END bodies. Now tracks depth so trigger bodies are kept intact.

Fixes TestWebhook_ParticipantLeft_NoDoubleBroadcast_AfterFreshCleanup
and TestWebhook_ParticipantLeft_OldToken_DoesNotTeardownReplacement.
2026-04-01 15:35:50 +02:00
..