From 58314835e459a3bda8d415e2f85ea6a678a393cb Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 26 Feb 2007 17:51:47 +0000 Subject: [PATCH] bug #1668662, upgrade script can create the new pma_designer_coords table --- ChangeLog | 4 ++++ scripts/upgrade_tables_mysql_4_1_2+.sql | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5b2b93a9d..3a20b45fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog $Id$ $HeadURL$ +2007-02-26 Marc Delisle + * scripts/upgrade_tables_mysql_4_1_2+.sql: bug #1668662, + can create the new pma_designer_coords table + 2007-02-25 Marc Delisle * libraries/common.lib.php: bug #1667466, undefined variable when export + save on server diff --git a/scripts/upgrade_tables_mysql_4_1_2+.sql b/scripts/upgrade_tables_mysql_4_1_2+.sql index 48f2305c7..bc73ebcd9 100644 --- a/scripts/upgrade_tables_mysql_4_1_2+.sql +++ b/scripts/upgrade_tables_mysql_4_1_2+.sql @@ -144,3 +144,21 @@ ALTER TABLE `pma_table_info` ALTER TABLE `pma_table_info` CHANGE `display_field` `display_field` VARCHAR(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT ''; +-- -------------------------------------------------------- + +-- +-- Table structure for table `pma_designer_coords` +-- + +CREATE TABLE IF NOT EXISTS `pma_designer_coords` ( + `db_name` varchar(64) NOT NULL default '', + `table_name` varchar(64) NOT NULL default '', + `x` INT, + `y` INT, + `v` TINYINT, + `h` TINYINT, + PRIMARY KEY (`db_name`,`table_name`) +) + ENGINE=MyISAM COMMENT='Table coordinates for Designer' + DEFAULT CHARACTER SET utf8 COLLATE utf8_bin; +