Not only can you experience AnswerHub firsthand, but you can also ask and explore questions and answers about AnswerHub.
To get started, try typing a question in the search bar. If your question hasn't been asked, try posting a new question.
If you are a current customer, please use the Customer Success portal instead of this communtiy.
I have a previous cnprog installation and I want to migrate to osqa.
How do I do this, I observed that there are quite a few changes to the database.
Answer by Hernani , Qato lead developer and father of Tiago · Mar 20, 2010 at 06:01 PM
Actually, here's an option. Download and install django evolution, then upgrade your code, and add "django-evolution" to the INSTALLED_APPS setting, finaly run manage.py evolve --hint --execute. But while you do that, keep django-authopenid around and in the installed apps setting. After the database "evolution" you'll have to run a small script to convert django-authopenid associations to the new style associations. The script is not in the repo because it was in the django-authopenid folder, but I'll add it in a while and update this.
Finally you can remove django-authopenid, both the folser and from installed-apps.
Django-evolution is very safe, is being written by one of the django core developers, and is a strong candidate to be part of the django core in a near future.
Answer by evgeny fadeev · Mar 20, 2010 at 05:21 PM
You are probably in for some fun.
There are two ways: (1) write proper migration code (2) use sql scripts from
If you choose second option then I recommend taking two steps:
ALTER TABLEcommands into the database)
Older sql migration scripts are in the directory
sql_scripts. The files are dated, but some that start with
update_2009_12_ have actually been created in 2008.
The general idea is:
syncdb- that will install any new tables, but will not repair the old ones
Which scripts you'll want to look into - depends on the date of your CNPROG code.
Answer by sorin · Mar 21, 2010 at 03:57 AM