X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=inline;f=TODO;h=45ff84a1d961c1615ec3a750240eb78e86786d1c;hb=fddbaa14a1e033373080dc322a5b6c0ef388ee72;hp=bd62d168eda39bf847a953d214cda2db919a75d3;hpb=fa5c08a8f2003486fd091f15b9f1f8ad38cef5d1;p=sqlconvert.git diff --git a/TODO b/TODO index bd62d16..45ff84a 100644 --- a/TODO +++ b/TODO @@ -3,7 +3,26 @@ Test at Travis and AppVeyor with Postgres. 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; + 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"). + - Remove LOCK/UNLOCK TABLES; +Installers.