#808: sql upgrade fails with 0.9.5a
-----------------------+----------------------------------------------------
Reporter: ivolooser | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone: 1.0
Component: SQLObject | Version: 0.9a5
Severity: normal | Resolution:
Keywords: |
-----------------------+----------------------------------------------------
Comment (by godoy):
It's a wrapper for {{{sqlobject-admin upgrade}}}.
{{{
% sqlobject-admin help upgrade
usage: sqlobject-admin upgrade [options]
Update the database to a new version (as created by record)
This command runs scripts (that you write by hand) to upgrade a database.
The database's current version is in the sqlobject_version table (use
record
--force-db-version if a database does not have a sqlobject_version table),
and upgrade scripts are in the version directory you are upgrading FROM,
named upgrade_DBNAME_VERSION.sql, like "upgrade_mysql_2004-12-01b.sql".
}}}
and
{{{
% tg-admin sql help upgrade
usage: tg-admin upgrade [options]
Update the database to a new version (as created by record)
This command runs scripts (that you write by hand) to upgrade a database.
The database's current version is in the sqlobject_version table (use
record
--force-db-version if a database does not have a sqlobject_version table),
and upgrade scripts are in the version directory you are upgrading FROM,
named upgrade_DBNAME_VERSION.sql, like "upgrade_mysql_2004-12-01b.sql".
}}}
It is documented... But you still have to write the SQL commands to
update your database by hand.
Do you still think that this should be left open?
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/808>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---