]> git.phdru.name Git - sqlconvert.git/blob - TODO
Docs: Update TODO
[sqlconvert.git] / TODO
1 In SQLite/Postgres (non-MySQL) mode:
2
3    In CREATE TABLE:
4
5       Replace AUTO_INCREMENT columns with INTEGER PRIMARY KEY for SQLite or
6       serial for Postgres.
7
8       Change TINYINT to SMALLINT. Remove UNSIGNED.
9       For Postgres replace int with INTEGER.
10
11       Remove CHARACTER SET, COLLATE and COMMENT from column definitions.
12
13       Remove KEY and index name from UNIQUE KEY:
14       UNIQUE KEY name (columns) -> UNIQUE (columns).
15
16       Change multicolumn PRIMARY KEY to UNIQUE.
17
18       Remove table options like ENGINE, AUTO_INCREMENT, CHARSET, etc:
19       CREATE TABLE name (column_definitions) table_options.
20
21       Convert KEY to CREATE INDEX; remove size limit:
22          KEY name ("COLUMN_NAME"(20)) ->
23          CREATE INDEX name ON table ("COLUMN_NAME").
24
25    Remove LOCK/UNLOCK TABLES.
26
27
28 Installers.