SimpleCloudNotifier/scnserver/db/schema/primary_migration_7_8.ddl
Mike Schwörer 9d35916280
All checks were successful
Build Docker and Deploy / Build Docker Container (push) Successful in 1m52s
Build Docker and Deploy / Deploy to Server (push) Successful in 7s
Fix missing field in clients struct and non-partial fcmtoken index (also streamline db migrations)
2024-09-17 22:26:45 +02:00

8 lines
123 B
SQL

DROP INDEX "idx_clients_fcmtoken";
CREATE UNIQUE INDEX "idx_clients_fcmtoken" ON clients (fcm_token) WHERE deleted=0;