[commits] Horde branch master updated. 273a09281805c68ae93cbfe55c1cfd649b45efe6

Jan Schneider jan at horde.org
Fri Mar 4 17:29:32 UTC 2011


The branch "master" has been updated.
The following is a summary of the commits.

from: c5e1618dd1a4e2cf055d70de869c9d6fc4572f94

88dd948 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.
324f067 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.
6b86efa Indention.
273a092 Allow changing the primary key.

-----------------------------------------------------------------------

commit 88dd948f4b547c3d4fe2947917f9db5a49e94aa9
Author: Jan Schneider <jan at horde.org>
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/88dd948f4b547c3d4fe2947917f9db5a49e94aa9

-----------------------------------------------------------------------

commit 324f067adc7d36c9efff1641fcd8b08b5c6ad26a
Author: Jan Schneider <jan at horde.org>
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/324f067adc7d36c9efff1641fcd8b08b5c6ad26a

-----------------------------------------------------------------------

commit 6b86efa0bc0fb7467650d0d2240483e31c462a56
Author: Jan Schneider <jan at horde.org>
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/6b86efa0bc0fb7467650d0d2240483e31c462a56

-----------------------------------------------------------------------

commit 273a09281805c68ae93cbfe55c1cfd649b45efe6
Author: Jan Schneider <jan at horde.org>
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/273a09281805c68ae93cbfe55c1cfd649b45efe6




More information about the commits mailing list