Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to migrate DB schema to 0.8+
Clone this wiki locally
If you were using version 0.7 and want to use 0.8, you'll need to migrate your DB schema. It's easy to do it. Just follow the instructions bellow.
- Sync your DB:
$ ./manage.py syncdb
- Fake migrate to 0001 and migrate to the lastest migration:
$ ./manage.py migrate codespeed 0001 --fake $ ./manage.py migrate codespeed
- For each project, you need to create a trunk branch (a trunk branch is a Branch with name='default'). You can do that by running the
create_trunks.pyscript, manually in the shell or using the admin page. A Branch has two fiels: the name (CharField) and project (ForeignKey referencing a Project).
- Run the script
migrate_script.py. It will associate each Revision to the related trunk branch.
Now you can use Codespeed 0.8.