]> git.phdru.name Git - sqlconvert.git/blobdiff - TODO
Tests: Use tox instead of tests/Makefile
[sqlconvert.git] / TODO
diff --git a/TODO b/TODO
index a1c0d9f543584b656d6a72a2024e23595e91c0d5..69cd5facd28cc94b21d3edec2264dd7238268852 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,10 +1,25 @@
-Progress bar.
+In SQLite/Postgres (non-MySQL) mode:
 
+   Replace AUTO_INCREMENT columns with INTEGER PRIMARY KEY for SQLite or
+   serial for Postgres.
 
-Remove /*! directives */
+   Change TINYINT to SMALLINT. Remove UNSIGNED.
+   For Postgres replace int with INTEGER.
 
+   Remove CHARACTER SET, COLLATE and COMMENT from column definitions.
 
-Convert string escapes to generic SQL, Postgres- or SQLite-specific.
+   Remove KEY and inde name from UNIQUE KEY:
+   UNIQUE KEY name (columns) -> UNIQUE (columns).
 
+   Change multicolumn PRIMARY KEY to UNIQUE.
 
-Convert extended INSERTs to series of plain INSERTs.
+   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").
+
+
+Installers.