NOT NULL constraints for DB #962
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
type/enhancement
An improvement of existing functionality
A lot of database fields that conceptually should always be populated do not have
NOT NULL
constraints. For instance, thenum_stars
,num_forks
,num_watches
, etc. fields in therepository
table do not haveNOT NULL
constraints. This is problematic, because if those columns have null entries, increment/decrement operations will have no effect.Is there a reason that these columns don't have
NOT NULL
constraints?Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: