]> git.phdru.name Git - sqlconvert.git/blobdiff - TODO
TODO: even more MySQL-specific fixes
[sqlconvert.git] / TODO
diff --git a/TODO b/TODO
index 347811bcb2d5d001920f1488bdb1800087863ddc..5695fbff2909b6d0735ea0c52786c34a76ac2ec5 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,6 +1,25 @@
-Convert string escapes to generic SQL, Postgres- or SQLite-specific.
+Test at Travis and AppVeyor with Postgres.
 
-Add tests for SQLite.
 
+In SQLite/Postgres (non-MySQL) mode:
 
-Convert extended INSERTs to series of plain INSERTs.
+   Replace AUTO_INCREMENT columns with INTEGER PRIMARY KEY for SQLite or
+   serial for Postgres.
+
+   Change TINYINT to SMALLINT. Remove UNSIGNED.
+   For Postgres replace int with INTEGER.
+
+   Remove CHARACTER SET, COLLATE and COMMENT from column definitions.
+
+   Remove KEY and inde name from UNIQUE KEY:
+   UNIQUE KEY name (columns) -> UNIQUE (columns).
+
+   Change multicolumn PRIMARY KEY to UNIQUE.
+
+   Remove table options like ENGINE, AUTO_INCREMENT, CHARSET, etc:
+   CREATE TABLE name (column_definitions) table_options.
+
+   Remove LOCK/UNLOCK TABLES.
+
+   Convert KEY to CREATE INDEX; remove size limit:
+   KEY name ("COLUMN_NAME"(20)) -> CREATE INDEX name ON table ("COLUMN_NAME").