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
name constraint
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 92b03caf4be4d767216177d72252606317a4ece3
Original file line number Diff line number Diff line change
@@ -13,4 +13,4 @@
* limitations under the License.
*/

ALTER TABLE profiles ADD CHECK (full_user_id IS NOT NULL) NOT VALID;
ALTER TABLE profiles ADD CONSTRAINT full_user_id_not_null CHECK (full_user_id IS NOT NULL) NOT VALID;
Original file line number Diff line number Diff line change
@@ -13,4 +13,4 @@
* limitations under the License.
*/

ALTER TABLE user_filters ADD CHECK (full_user_id IS NOT NULL) NOT VALID;
ALTER TABLE user_filters ADD CONSTRAINT full_user_id_not_null CHECK (full_user_id IS NOT NULL) NOT VALID;