fix: ensure_repo_exists uses i32 for SELECT 1 (matches PostgreSQL INT4)
Author: Aaron Steven White
Commit
f0a0bf57fd7da3e74c02fa9b5c5095b82bcd1df6Parent: 62cd4dccaa
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-cospan1 file changed +1 -1
@@ -175,7 +175,7 @@ pub async fn ensure_exists(
175175 _source: &str, 176176 ) -> Result<(), sqlx::Error> { 177177 // Check if repo already exists by name 178- let exists: Option<(i64,)> = sqlx::query_as( 178+ let exists: Option<(i32,)> = sqlx::query_as( 179179 "SELECT 1 FROM repos WHERE did = $1 AND name = $2", 180180 ) 181181 .bind(did)