-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Open
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/enhancementAn improvement of existing functionalityAn improvement of existing functionality
Description
A lot of database fields that conceptually should always be populated do not have NOT NULL constraints. For instance, the num_stars, num_forks, num_watches, etc. fields in the repository table do not have NOT 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.
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/enhancementAn improvement of existing functionalityAn improvement of existing functionality