parent
34db6bb9f5
commit
33701dc116
|
@ -0,0 +1 @@
|
||||||
|
Implement "room knocking" as per [MSC2403](https://github.com/matrix-org/matrix-doc/pull/2403). Contributed by Sorunome and anoa.
|
|
@ -13,5 +13,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ALTER TABLE room_stats_current ADD COLUMN knocked_members INT NOT NULL DEFAULT '0';
|
-- Existing rows will default to NULL, so anything reading from these tables
|
||||||
ALTER TABLE room_stats_historical ADD COLUMN knocked_members BIGINT NOT NULL DEFAULT '0';
|
-- needs to interpret NULL as 0. This is fine here as no existing rooms can have
|
||||||
|
-- any knocked members.
|
||||||
|
ALTER TABLE room_stats_current ADD COLUMN knocked_members INT;
|
||||||
|
ALTER TABLE room_stats_historical ADD COLUMN knocked_members BIGINT;
|
||||||
|
|
Loading…
Reference in New Issue