Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The condition was backwards — it exited with "database already exists" when the file was found, and tried to open it when it did not exist. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>