From 0e60030ae2d7fa51bd1960af1f8f656ec8edebcf Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 25 Oct 2017 02:35:04 +0300 Subject: [PATCH] Docs: Update TODO [skip ci] --- TODO | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/TODO b/TODO index 69cd5fa..f3b3e01 100644 --- a/TODO +++ b/TODO @@ -1,25 +1,28 @@ In SQLite/Postgres (non-MySQL) mode: - Replace AUTO_INCREMENT columns with INTEGER PRIMARY KEY for SQLite or - serial for Postgres. + In CREATE TABLE: - Change TINYINT to SMALLINT. Remove UNSIGNED. - For Postgres replace int with INTEGER. + Replace AUTO_INCREMENT columns with INTEGER PRIMARY KEY for SQLite or + serial for Postgres. - Remove CHARACTER SET, COLLATE and COMMENT from column definitions. + Change TINYINT to SMALLINT. Remove UNSIGNED. + For Postgres replace int with INTEGER. - Remove KEY and inde name from UNIQUE KEY: - UNIQUE KEY name (columns) -> UNIQUE (columns). + Remove CHARACTER SET, COLLATE and COMMENT from column definitions. - Change multicolumn PRIMARY KEY to UNIQUE. + Remove KEY and index name from UNIQUE KEY: + UNIQUE KEY name (columns) -> UNIQUE (columns). - Remove table options like ENGINE, AUTO_INCREMENT, CHARSET, etc: - CREATE TABLE name (column_definitions) table_options. + Change multicolumn PRIMARY KEY to UNIQUE. - Remove LOCK/UNLOCK TABLES. + 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"). - 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. -- 2.39.2