Merge pull request #5268 from matrix-org/babolivier/account_validity_fix_schema

Fix schema update for account validity
This commit is contained in:
Brendan Abolivier 2019-05-28 10:30:07 +01:00 committed by GitHub
commit a97d4e218a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

1
changelog.d/5268.bugfix Normal file
View file

@ -0,0 +1 @@
Fix schema update for account validity.

View file

@ -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.