wiki.techinc.nl/maintenance/sqlite
2009-01-15 14:20:28 +00:00
..
archives * Preserve usertext_timestamp index name for MySQL, prefix it for SQLite. Issues remain on the experimental non-installable DBMSes. 2009-01-15 14:20:28 +00:00
README For backport to 1.14. 2009-01-15 06:56:58 +00:00

SQLite shares the MySQL schema file at maintenance/tables.sql, with a set of 
compatibility regexes to convert MySQL syntax to SQLite syntax:

* BINARY() and VARBINARY() fields are converted to BLOB
* the UNSIGNED modifier is removed
* "INT" fields are converted to "INTEGER"
* ENUM is converted to BLOB
* the BINARY collation modifier is removed
* AUTO_INCREMENT is converted to AUTOINCREMENT
* Any table options are removed
* Truncated indexes are upgraded to full-width indexes
* FULLTEXT indexes are converted to ordinary indexes