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

N + 2: Add not null constraint to column full_user_id of tables profiles and user_filters #15537

Merged
merged 20 commits into from
May 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bump schema compat
H-Shay committed May 10, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 869c609c788e48da105b28e6ed8af1a591cc2412
4 changes: 2 additions & 2 deletions synapse/storage/schema/__init__.py
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@
- Adds a full_user_id column to tables profiles and user_filters.
Changes in SCHEMA_VERSION = 77
- Add CHECK (full_user_id IS NOT NULL) to tables profiles and user_filters
- (Postgres) Add NOT VALID CHECK (full_user_id IS NOT NULL) to tables profiles and user_filters
"""


@@ -115,7 +115,7 @@
#
# insertions to the column `full_user_id` of tables profiles and user_filters can no
# longer be null
75
76
)
"""Limit on how far the synapse codebase can be rolled back without breaking db compat