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

Commit

Permalink
Make a note to leave a summary when one is bumping the schema version (
Browse files Browse the repository at this point in the history
…#10621)

I found this easy to miss (and evidently, it looks like it was missed for schema version 62).
  • Loading branch information
anoadragon453 authored Aug 25, 2021
1 parent 882539e commit b45cc15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/10621.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a comment asking developers to leave a reason when bumping the database schema version.
2 changes: 2 additions & 0 deletions synapse/storage/schema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# When updating these values, please leave a short summary of the changes below.

SCHEMA_VERSION = 63
"""Represents the expectations made by the codebase about the database schema
Expand Down

0 comments on commit b45cc15

Please sign in to comment.