processone / ejabberd

Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
https://www.process-one.net/en/ejabberd/
Other
6.1k stars 1.51k forks source link

SQL schema migration fixes and testing #3982

Closed nosnilmot closed 1 year ago

nosnilmot commented 1 year ago
ALTER TABLE vcard_search DROP CONSTRAINT vcard_search_pkey;
ALTER TABLE vcard_search ADD PRIMARY KEY (server_host, lusername);

finding that bug almost made all the effort to enable automated schema upgrade testing worthwhile

coveralls commented 1 year ago

Coverage Status

Coverage: 33.171% (+0.06%) from 33.11% when pulling 0c1cf43519d1e3cf9555c6c62e222a39b3febaec on nosnilmot:sql-update-tests into 3b345380383a9f31add418f35f27ef6f50db6529 on processone:master.

Neustradamus commented 1 year ago

To follow :)

prefiks commented 1 year ago

Took me some time to review it, but it all looks sensible. Let's merge it.