1 SQLite shares the MySQL schema file at maintenance/tables.sql, with a set of
2 compatibility regexes to convert MySQL syntax to SQLite syntax:
4 * BINARY() and VARBINARY() fields are converted to BLOB
5 * the UNSIGNED modifier is removed
6 * "INT" fields are converted to "INTEGER"
7 * ENUM is converted to BLOB
8 * the BINARY collation modifier is removed
9 * AUTO_INCREMENT is converted to AUTOINCREMENT
10 * Any table options are removed
11 * Truncated indexes are upgraded to full-width indexes
12 * FULLTEXT indexes are converted to ordinary indexes