diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2021-11-30 14:48:35 +0000 |
---|---|---|
committer | Andrew Morgan <andrewm@element.io> | 2022-03-10 15:50:58 +0000 |
commit | 1671f8772d5bb454aa1669c6363f94136280db73 (patch) | |
tree | 2d99913a1c98ddde6e8b39f7f0d1b19d1c964cf2 | |
parent | Add to_key arg, user_ids optional for get_users_whose_devices_changed (diff) | |
download | synapse-1671f8772d5bb454aa1669c6363f94136280db73.tar.xz |
Add migration delta to track device_list stream id per appservice
-rw-r--r-- | synapse/storage/schema/main/delta/68/06_msc3202_add_device_list_appservice_stream_type.sql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/synapse/storage/schema/main/delta/68/06_msc3202_add_device_list_appservice_stream_type.sql b/synapse/storage/schema/main/delta/68/06_msc3202_add_device_list_appservice_stream_type.sql new file mode 100644 index 0000000000..cc5e99482f --- /dev/null +++ b/synapse/storage/schema/main/delta/68/06_msc3202_add_device_list_appservice_stream_type.sql @@ -0,0 +1,18 @@ +/* Copyright 2022 The Matrix.org Foundation C.I.C + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +-- Add a column to track what device list changes stream id that this application +-- service has been caught up to. +ALTER TABLE application_services_state ADD COLUMN device_list_stream_id BIGINT; \ No newline at end of file |