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
Update synapse/storage/schema/__init__.py
Co-authored-by: reivilibre <[email protected]>
H-Shay and reivilibre authored May 10, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit a735a01daa3b2efd2f1f7d8c787bfc5140859218
2 changes: 1 addition & 1 deletion 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
"""