summary refs log tree commit diff
path: root/synapse/storage/schema/delta
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-05-28 10:30:07 +0100
committerGitHub <noreply@github.com>2019-05-28 10:30:07 +0100
commita97d4e218ad7b773964a139af14a90817d361205 (patch)
tree3c31bd003eb602e96a230a7f0e3c98483ce93d56 /synapse/storage/schema/delta
parentMerge pull request #5260 from matrix-org/travis/fix-room-bg-task (diff)
parentChangelog (diff)
downloadsynapse-a97d4e218ad7b773964a139af14a90817d361205.tar.xz
Merge pull request #5268 from matrix-org/babolivier/account_validity_fix_schema
Fix schema update for account validity
Diffstat (limited to 'synapse/storage/schema/delta')
-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.