Jorge Godoy <[EMAIL PROTECTED]> writes:
> Providing the information on how to upgrade looks like the best fix to me.
Here's what need to be changed / checked:
1. Make sure that in app.cfg there's a line like this one:
visit.soprovider.model = "${package}.model.Visit"
2. Change class VisitIdentity in model.py removing the metaclass
sqlmeta and the alternate table name
3. Run 'tg-admin sql create'
4. If you need to keep some kind of history, then it is interesting to
run the followin SQL command
insert into visit_identity (id, visit_key, user_id)
select id, visit_key, user_id from tg_visit_identity;
so that your data gets migrated from one table to the other
5. Remove the old table (SQL again):
drop table tg_visit_identity;
And sorry if my messages sounded more rude than they should. I should have
provided this "doc patch" before.
--
Jorge Godoy <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---