mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-11-13 08:00:52 +08:00
Instead of on every start: the schema is defined in one place again. Postgres gets idx_message_topic_published_id (topic, published, id), SQLite idx_topic_published_time (topic, published, time), both with IF NOT EXISTS (ntfy.sh got the Postgres one by hand). A downgrade to v2.31.0 or earlier now needs the schema version set back by hand, as described in the release notes; from v2.31.1 on, a newer schema only logs a warning (#2059).