Better migration handling

This commit is contained in:
2024-09-20 23:50:34 +02:00
parent 7546c2a1a4
commit d9a14c9973
7 changed files with 58 additions and 73 deletions

View File

@@ -0,0 +1,7 @@
DROP INDEX "idx_clients_fcmtoken";
CREATE UNIQUE INDEX "idx_clients_fcmtoken" ON clients (fcm_token) WHERE deleted=0;