[turba] Using horde-db-migration script to update schema
Michael J Rubinsky
mrubinsk at horde.org
Thu Jul 10 04:15:48 UTC 2014
Quoting "John H. Bennett III" <bennettj at thebennetthome.com>
> Hello,
>
> I need to add a column to the turba_objects table. I can create a
> migration script and place it in the turba/migration directory, and
> it will execute just fine and do what I need, but that will then
> result in install getting out of sync with the official turba
> schema. Plus, I learned all of the specific migration files must
> have unique numerical values, or the schema upgrades will fail to
> run. Is there a way for a general admin to use the
> horde-db-migration script to add columns or other items, or must I
> find a different way to add things?
>
> Thank you,
>
> John
>
>
> --
> turba mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
>
No, you should add the column manually. For apps like Turba, where
it's likely the admin will add additional columns, we add existence
checks for columns that we touch with the migration scripts. That way
if we ever happen to add the same column upstream, your version of
the column won't interfere with the migration.
mike
Sent from mobile
-------- Original message --------
From: "John H. Bennett III" <bennettj at thebennetthome.com>
Date:07/10/2014 12:06 AM (GMT-05:00)
To: turba at lists.horde.org
Subject: [turba] Using horde-db-migration script to update schema
More information about the turba
mailing list