SQL::Translator cannot parse MySQL dumps that contain a BIT column type,
such as:
`public_status` bit(1) DEFAULT b'0',
Converting this to
`public_status` bool DEFAULT '0',
fixes the issue. An example of what the error looks like is:
sqlt -f MySQL -t SQLite ./framework/php/settings/sql/cashmusic_db.sql
ERROR (line 5): Invalid statement: Was expecting comment, or use, or
set, or drop, or create, or alter, or insert, or
delimiter, or empty statement
Error: translate: Error with parser
'SQL::Translator::Parser::MySQL': no results at
/home/leto/git/cxgn/local-lib/bin/sqlt line 353.
The file in question which causes this error is here:
https://github.com/cashmusic/DIY/blob/4f25b5876209509c6e87d227568a76ae0c757a29/framework/php/settings/sql/cashmusic_db.sql