Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
NodeDB-Lab
/
nodedb
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
16
Star
197
Code
Issues
17
Pull requests
1
Discussions
Actions
Projects
Security and quality
5
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Enforce PRIMARY KEY NOT NULL and give every read path one row image
- #310
#310
Merged
farhan-syah
merged 11 commits into
main
NodeDB-Lab/nodedb:main
from
fix/primary-key-not-null-and-row-identity
NodeDB-Lab/nodedb:fix/primary-key-not-null-and-row-identity
Copy head branch name to clipboard
Sep 9, 2026
Conversation
Commits
11
(11)
Checks
Files changed
Merged
Enforce PRIMARY KEY NOT NULL and give every read path one row image
#310
farhan-syah
merged 11 commits into
main
NodeDB-Lab/nodedb:main
from
fix/primary-key-not-null-and-row-identity
NodeDB-Lab/nodedb:fix/primary-key-not-null-and-row-identity
Copy head branch name to clipboard
Commits
Commits on Sep 8, 2026
test(sql): cover IS NULL parity across scan, count, delete, and update
Show description for 6790fe0
farhan-syah
committed
6790fe0
View commit details
Copy full SHA for 6790fe0
Browse repository at this point
test(sql): cover NOT NULL enforcement on primary keys
Show description for 60dd6b6
farhan-syah
committed
60dd6b6
View commit details
Copy full SHA for 60dd6b6
Browse repository at this point
fix(sql): refuse a NULL or omitted primary key with 23502
Show description for 8c70691
farhan-syah
committed
8c70691
View commit details
Copy full SHA for 8c70691
Browse repository at this point
fix(kv): refuse a NULL or omitted key with 23502
Show description for be8da95
farhan-syah
committed
be8da95
View commit details
Copy full SHA for be8da95
Browse repository at this point
Commits on Sep 9, 2026
fix(sql): refuse a NULL primary key on the update and copy paths
Show description for 7f67cfb
farhan-syah
committed
7f67cfb
View commit details
Copy full SHA for 7f67cfb
Browse repository at this point
fix(document): give every predicate path the same row image
Show description for 96212f3
farhan-syah
committed
96212f3
View commit details
Copy full SHA for 96212f3
Browse repository at this point
fix(document): inject the row identity on three more read paths
Show description for db255b3
farhan-syah
committed
db255b3
View commit details
Copy full SHA for db255b3
Browse repository at this point
fix(document): carry the row identity into events, gates, and copies
Show description for bcbce55
farhan-syah
committed
bcbce55
View commit details
Copy full SHA for bcbce55
Browse repository at this point
fix(sql): refuse a computed NULL primary key at apply time
Show description for 8d2017b
farhan-syah
committed
8d2017b
View commit details
Copy full SHA for 8d2017b
Browse repository at this point
fix(error): keep a constraint verdict's kind across a node boundary
Show description for 3fdc19c
farhan-syah
committed
3fdc19c
View commit details
Copy full SHA for 3fdc19c
Browse repository at this point
fix(sql): enforce the primary key where identity is minted
Show description for c2d18bc
farhan-syah
committed
c2d18bc
View commit details
Copy full SHA for c2d18bc
Browse repository at this point
You can’t perform that action at this time.