X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=TODO;h=5695fbff2909b6d0735ea0c52786c34a76ac2ec5;hb=37241eff9eaf95463d02b703b573b1759abd6167;hp=d30630e723a1f85a971d6501fa493a5f78105645;hpb=06e800db4b050e10e0e2e832f9d98d5feb79b1fe;p=sqlconvert.git diff --git a/TODO b/TODO index d30630e..5695fbf 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,25 @@ -Publish at GitHub. +Test at Travis and AppVeyor with Postgres. -Test at Travis. -Publish at PyPI. +In SQLite/Postgres (non-MySQL) mode: + + 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").