SimpleCloudNotifier/scnserver/db/schema/primary_migration_7_8.sql

8 lines
123 B
SQL

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