k1LoW / tbls

tbls is a CI-Friendly tool for document a database, written in Go.
MIT License
3.42k stars 165 forks source link

sqlite fails with "converting NULL to string is unsupported" #578

Closed tcanabrava closed 5 months ago

tcanabrava commented 5 months ago
➜  database-spec git:(master) ✗ tbls out -t svg -o output           
sql: Scan error on column index 2, name "name": converting NULL to string is unsupported

➜  database-spec git:(master) ✗ tbls version 
1.74.1

➜  database-spec git:(master) ✗ cat tbls.yml 
dsn: sq:///home/tcanabrava/cad_database.db

I tried to fix the error but my go-foo is really really bad, and I couldn't make the debugger work, sorry.

A zip file of the database to help. cad_database.db.zip

k1LoW commented 5 months ago

@tcanabrava Thank you for your report. I could see the error too.