diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-05-28 10:11:38 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-05-28 10:11:38 +0100 |
commit | ba17de7fbc29700163b23363ae0e03f8a01ef274 (patch) | |
tree | cac4ad71d0755e3ccc33b4c750d568f77149990e /synapse/storage | |
parent | Doc (diff) | |
download | synapse-ba17de7fbc29700163b23363ae0e03f8a01ef274.tar.xz |
Fix schema update for account validity
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/schema/delta/54/account_validity_with_renewal.sql (renamed from synapse/storage/schema/delta/54/account_validity.sql) | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/54/account_validity.sql b/synapse/storage/schema/delta/54/account_validity_with_renewal.sql index 2357626000..0adb2ad55e 100644 --- a/synapse/storage/schema/delta/54/account_validity.sql +++ b/synapse/storage/schema/delta/54/account_validity_with_renewal.sql @@ -13,6 +13,9 @@ * limitations under the License. */ +-- We previously changed the schema for this table without renaming the file, which means +-- that some databases might still be using the old schema. This ensures Synapse uses the +-- right schema for the table. DROP TABLE IF EXISTS account_validity; -- Track what users are in public rooms. |