The branch "H4-Group" has been updated. The following is a summary of the commits.
from: 71d2ce9952ed519783aa6999a7c0cbc9f1c1fecb 6d4b123 Add option to unset the primary key of a TableDefinition and use that to delete existing primary keys when changing a column's type to the virtual type "primaryKey" in SQLite. 5ca38ac Changing arbitrary columns to autoincrementing simply doesn't work, because this is not supported by all databases. Use the virtual column type "primaryKey" instead, which does exactly what we want. 2a3ce70 Test non-existants IDs of the correct type. d9f3faa Add pgsql test. e27188f Indention. 4247956 Allow changing the primary key. 84efea7 Tweak schema table name. ----------------------------------------------------------------------- commit 6d4b12367b7beb0ec1f7e55c184b2e9a109f3c4c Author: Jan Schneider <[email protected]> Date: Fri Mar 4 13:55:46 2011 +0100 Add option to unset the primary key of a TableDefinition and use that to delete existing primary keys when changing a column's type to the virtual type "primaryKey" in SQLite. framework/Db/lib/Horde/Db/Adapter/Base/TableDefinition.php | 2 +- framework/Db/lib/Horde/Db/Adapter/Sqlite/Schema.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) http://git.horde.org/horde-git/-/commit/6d4b12367b7beb0ec1f7e55c184b2e9a109f3c4c ----------------------------------------------------------------------- commit 5ca38acea489790b900e3eb80a01d4495a91aa49 Author: Jan Schneider <[email protected]> Date: Fri Mar 4 14:13:07 2011 +0100 Changing arbitrary columns to autoincrementing simply doesn't work, because this is not supported by all databases. Use the virtual column type "primaryKey" instead, which does exactly what we want. ansel/migration/2_ansel_upgrade_autoincrement.php | 24 ++++- framework/Db/test/Horde/Db/Migration/BaseTest.php | 2 +- .../migration/Horde_Group/2_horde_group_upgrade_autoincrement.php | 6 +- .../Horde_History/2_horde_history_upgrade_autoincrement.php | 6 +- .../migration/Horde/Perms/2_horde_perms_upgrade_autoincrement.php | 6 +- .../VFS/migration/Horde/VFS/2_horde_vfs_upgrade_autoincrement.php | 12 ++- hermes/migration/2_hermes_autoincrement.php | 19 +++- imp/migration/2_imp_autoincrement_sentmail.php | 6 +- ingo/migration/2_ingo_upgrade_autoincrement.php | 12 ++- jonah/migration/2_jonah_upgrade_autoincrement.php | 18 +++- kronolith/migration/2_kronolith_upgrade_autoincrement.php | 6 +- kronolith/migration/7_kronolith_upgrade_resourceautoincrement.php | 6 +- mnemo/migration/2_mnemo_upgrade_autoincrement.php | 6 +- nag/migration/2_nag_upgrade_autoincrement.php | 6 +- turba/migration/2_turba_upgrade_autoincrement.php | 6 +- whups/migration/2_whups_autoincrement_shares.php | 6 +- wicked/migration/2_wicked_autoincrement_page_id.php | 2 +- 17 files changed, 122 insertions(+), 27 deletions(-) http://git.horde.org/horde-git/-/commit/5ca38acea489790b900e3eb80a01d4495a91aa49 ----------------------------------------------------------------------- commit 2a3ce70b50cf2a1a4f34ccd1c9a3d88d92d1ff4a Author: Jan Schneider <[email protected]> Date: Fri Mar 4 16:33:21 2011 +0100 Test non-existants IDs of the correct type. framework/Group/test/Horde/Group/Base.php | 4 ++-- framework/Group/test/Horde/Group/LdapTest.php | 2 +- framework/Group/test/Horde/Group/Sql/Base.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) http://git.horde.org/horde-git/-/commit/2a3ce70b50cf2a1a4f34ccd1c9a3d88d92d1ff4a ----------------------------------------------------------------------- commit d9f3faa3612d8bbe6ad98ebd9f2c3c625b85fbad Author: Jan Schneider <[email protected]> Date: Fri Mar 4 16:33:52 2011 +0100 Add pgsql test. framework/Group/test/Horde/Group/Sql/Pdo/PgsqlTest.php | 30 ++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) create mode 100644 framework/Group/test/Horde/Group/Sql/Pdo/PgsqlTest.php http://git.horde.org/horde-git/-/commit/d9f3faa3612d8bbe6ad98ebd9f2c3c625b85fbad ----------------------------------------------------------------------- commit e27188fc34232357688402568077f8795033f8fe Author: Jan Schneider <[email protected]> Date: Fri Mar 4 17:55:40 2011 +0100 Indention. framework/Db/lib/Horde/Db/Adapter/Base/Column.php | 44 ++++++++++---------- 1 files changed, 22 insertions(+), 22 deletions(-) http://git.horde.org/horde-git/-/commit/e27188fc34232357688402568077f8795033f8fe ----------------------------------------------------------------------- commit 4247956d3d755e07a71c88f7005d37a5f1bacedc Author: Jan Schneider <[email protected]> Date: Fri Mar 4 18:25:58 2011 +0100 Allow changing the primary key. framework/Db/lib/Horde/Db/Adapter/Mysql/Schema.php | 4 +- framework/Db/lib/Horde/Db/Adapter/Postgresql/Schema.php | 31 ++++++++++++-- framework/Db/lib/Horde/Db/Adapter/Sqlite/Schema.php | 32 ++++++++++++-- 3 files changed, 57 insertions(+), 10 deletions(-) http://git.horde.org/horde-git/-/commit/4247956d3d755e07a71c88f7005d37a5f1bacedc ----------------------------------------------------------------------- commit 84efea7b6965fa2ef52aedf10f5197713187e136 Author: Jan Schneider <[email protected]> Date: Fri Mar 4 18:26:51 2011 +0100 Tweak schema table name. framework/Group/test/Horde/Group/Sql/Base.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) http://git.horde.org/horde-git/-/commit/84efea7b6965fa2ef52aedf10f5197713187e136 __ commits mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]
