ygrek / sqlgg

SQL Guided (code) Generator
https://ygrek.org/p/sqlgg/
GNU General Public License v2.0
62 stars 20 forks source link

Add support for the BIT(N) column type #111

Open cyberhuman opened 2 years ago

cyberhuman commented 2 years ago

https://dev.mysql.com/doc/refman/5.7/en/bit-type.html

% sqlgg -<<'EOF'              
CREATE TABLE test ( X BIT(1) NOT NULL );
EOF
==> CREATE TABLE test ( X BIT(1) NOT NULL )
Position 1:25 Tokens: BIT(1) NOT NULL )
Error: Sqlgg.Sql_parser.MenhirBasics.Error
Errors encountered, no code generated