Re: Using horde-db-migration script to update schema
Michael J Rubinsky <[email protected]> Thu, 10 Jul 2014 00:15:48 -0400
| Newsgroups | gmane.comp.horde.turba |
|---|---|
| Message-ID | <20140710001548.Horde.Wqd8RrBAetpPkcGapI_X8Q8@h4.theupstairsroom.com> |
Quoting "John H. Bennett III" <[email protected]> > 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: [email protected] > 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" <[email protected]> Date:07/10/2014 12:06 AM (GMT-05:00) To: [email protected] Subject: [turba] Using horde-db-migration script to update schema -- turba mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]