fix: include NOT NULL defaults in ensure_repo_exists stub The stub was missing protocol, node_did, node_url which are NOT NULL columns, causing insert failures during backfill.

Author: Aaron Steven White
Commit c6164844e3a43180eb73f5e5baec370da85e1ac0
Parent: 2cba37ec4c
Structural diff unavailable

These commits were pushed via plain git push, so no pre-parsed schemas are available. Install git-remote-cospan and re-push via panproto:// to see scope-level changes, breaking change detection, and semantic diffs.

brew install panproto/tap/git-remote-cospan
1 file changed +2 -2
@@ -157,8 +157,8 @@ pub async fn ensure_exists(
157157     source: &str,
158158 ) -> Result<(), sqlx::Error> {
159159     sqlx::query(
160-        "INSERT INTO repos (did, rkey, name, source, created_at) \
161-         VALUES ($1, '', $2, $3, NOW()) \
160+        "INSERT INTO repos (did, rkey, name, protocol, node_did, node_url, source, created_at) \
161+         VALUES ($1, '', $2, 'git', '', '', $3, NOW()) \
162162          ON CONFLICT (did, name) DO NOTHING",
163163     )
164164     .bind(did)
cospan · schematic version control on atproto built on AT Protocol