Clean up debug logging
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -262,6 +262,7 @@ func OpenDatabase(connString string) (*DB, error) {
|
|||||||
pool.Close()
|
pool.Close()
|
||||||
return nil, fmt.Errorf("failed to create schema: %v", err)
|
return nil, fmt.Errorf("failed to create schema: %v", err)
|
||||||
}
|
}
|
||||||
|
fmt.Println(" Schema OK")
|
||||||
|
|
||||||
// Migration: add miss_count column if not exists
|
// Migration: add miss_count column if not exists
|
||||||
pool.Exec(ctx, "ALTER TABLE domains ADD COLUMN IF NOT EXISTS miss_count INTEGER NOT NULL DEFAULT 0")
|
pool.Exec(ctx, "ALTER TABLE domains ADD COLUMN IF NOT EXISTS miss_count INTEGER NOT NULL DEFAULT 0")
|
||||||
|
|||||||
Reference in New Issue
Block a user