diff --git a/db.go b/db.go index 4c9e9cd..e19f499 100644 --- a/db.go +++ b/db.go @@ -262,6 +262,7 @@ func OpenDatabase(connString string) (*DB, error) { pool.Close() return nil, fmt.Errorf("failed to create schema: %v", err) } + fmt.Println(" Schema OK") // 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")