X-Git-Url: https://git.phdru.name/?p=sqlconvert.git;a=blobdiff_plain;f=TODO;h=69cd5facd28cc94b21d3edec2264dd7238268852;hp=6a5de99b7eb57d50838ef53718f02ecbb580ef9e;hb=adb055b137f5a7ea623c27ce53ca6fda47809acb;hpb=36dba55172728e077e913120491233dd7ae9ce68 diff --git a/TODO b/TODO index 6a5de99..69cd5fa 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,25 @@ -Convert string escapes to generic SQL, Postgres- or SQLite-specific. +In SQLite/Postgres (non-MySQL) mode: -Add tests for Postgres and SQLite. + 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. -Convert extended INSERTs to series of plain INSERTs. + 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"). + + +Installers.