X-Git-Url: https://git.phdru.name/?p=sqlconvert.git;a=blobdiff_plain;f=TODO;h=f3b3e01f97c19e16561ea83edad522c4b83b7ed7;hp=25aa6c776e8137be4361ac82d7a96d7859025874;hb=HEAD;hpb=73271a119cf021eb1b63b9acf07b748a02ded566 diff --git a/TODO b/TODO index 25aa6c7..f3b3e01 100644 --- a/TODO +++ b/TODO @@ -1 +1,28 @@ -Test at Travis and AppVeyor with Postgres. +In SQLite/Postgres (non-MySQL) mode: + + In CREATE TABLE: + + 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 index 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. + + Convert KEY to CREATE INDEX; remove size limit: + KEY name ("COLUMN_NAME"(20)) -> + CREATE INDEX name ON table ("COLUMN_NAME"). + + Remove LOCK/UNLOCK TABLES. + + +Installers.