Processed locally, data is not uploaded to server
| MySQL | SQLite | Description |
|---|---|---|
INT / TINYINT / SMALLINT / MEDIUMINT / BIGINT | INTEGER | All integers mapped to INTEGER |
VARCHAR(n) / CHAR(n) / TINYTEXT / MEDIUMTEXT / LONGTEXT | TEXT | All text mapped to TEXT |
FLOAT / DOUBLE / DECIMAL(m,n) | REAL | All floats mapped to REAL |
DATETIME / TIMESTAMP / DATE / TIME | TEXT | SQLite stores dates as TEXT |
BLOB / TINYBLOB / MEDIUMBLOB / LONGBLOB | BLOB | Binary types unchanged |
ENUM('a','b') | TEXT | SQLite does not support ENUM |
BOOLEAN / BOOL | INTEGER | SQLite uses 0/1 |
JSON | TEXT | SQLite stores JSON as TEXT |
AUTO_INCREMENT | AUTOINCREMENT | Auto-increment keywords differ |