Posts by Yuri Oliveira • 1 point
1 post
-
0
votes3
answers95
viewsA: How do I leave the primary and foreign key of a table with the NOT NULL Constraint in Postgresql?
1 - If you create PK contraints, the field already becomes Notnull by default. 2 - You can create a Check : CHECK (column_name IS NOT NULL).