X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=TODO;h=69cd5facd28cc94b21d3edec2264dd7238268852;hb=d345973282b7d3ffc5fe91896751a7c8a4172978;hp=590f4bb4fff8d0b9f9f5e98add486ae27f0bd2a1;hpb=39c23676c48a334bc012072b78183e56ca5e31ed;p=sqlconvert.git diff --git a/TODO b/TODO index 590f4bb..69cd5fa 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,25 @@ -Fix semicolons and newlines after /*! directives */ +In SQLite/Postgres (non-MySQL) mode: + Replace AUTO_INCREMENT columns with INTEGER PRIMARY KEY for SQLite or + serial for Postgres. -Convert string escapes to generic SQL, Postgres- or SQLite-specific. + Change TINYINT to SMALLINT. Remove UNSIGNED. + For Postgres replace int with INTEGER. + Remove CHARACTER SET, COLLATE and COMMENT from column definitions. -Convert extended INSERTs to series of plain INSERTs. + 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"). + + +Installers.