Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit b45cc15

Browse files
Make a note to leave a summary when one is bumping the schema version (#10621)
I found this easy to miss (and evidently, it looks like it was missed for schema version 62).
1 parent 882539e commit b45cc15

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

changelog.d/10621.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add a comment asking developers to leave a reason when bumping the database schema version.

synapse/storage/schema/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# When updating these values, please leave a short summary of the changes below.
16+
1517
SCHEMA_VERSION = 63
1618
"""Represents the expectations made by the codebase about the database schema
1719

0 commit comments

Comments
 (0)