| 1 |
SQLite schema is automatically generated from the abstract schema. |
| 2 |
You can see the generated schema in maintenance/sqlite/tables-generated.sql |
| 3 |
|
| 4 |
For more information on abstract schema see: |
| 5 |
https://www.mediawiki.org/wiki/Manual:Schema_changes |
| 6 |
|
| 7 |
SQLite in MediaWiki also accepts MySQL and there are a set of compatibility |
| 8 |
regexes to convert MySQL syntax to SQLite syntax: |
| 9 |
|
| 10 |
* BINARY() and VARBINARY() fields are converted to BLOB |
| 11 |
* the UNSIGNED modifier is removed |
| 12 |
* "INT" fields are converted to "INTEGER" |
| 13 |
* ENUM is converted to BLOB |
| 14 |
* the BINARY collation modifier is removed |
| 15 |
* AUTO_INCREMENT is converted to AUTOINCREMENT |
| 16 |
* Any table options are removed |
| 17 |
* Truncated indexes are upgraded to full-width indexes |
| 18 |
* FULLTEXT indexes are converted to ordinary indexes |