gomuks/pkg/hicli/database/upgrades/12-push-registrations.sql
2025-01-12 23:26:29 +02:00

10 lines
283 B
SQL

-- v12 (compatible with v10+): Add table for push registrations
CREATE TABLE push_registration (
device_id TEXT NOT NULL,
type TEXT NOT NULL,
data TEXT NOT NULL,
encryption TEXT NOT NULL,
expiration INTEGER NOT NULL,
PRIMARY KEY (device_id)
) STRICT;