First of all, great job for this application; it's amazing. We're interested in using it as our project management app. Installed in Ubuntu 10.04 with nginx and app working fine, but we're unable to work with projects. When clicking, appears error "something went wrong". Url projects inform of this: "Unknown column 'projects_task.depends_id' in 'field list"
Installed from https://github.com/treeio/treeio
We've seen in this commit https://github.com/treeio/treeio/pull/10/files that the column was removed.
Any ideas ?
We ask also if there's some guide un upgrading the application when there's a new version Thanks in advance !
asked Feb 25 '12 at 10:35
I've tried with migrate but it hasn't made changes. Also, in the table this field doesn't exist.
A search with grep in folder treeio shows nothing releveant with "depends_id", only a migration file where column is deleted in database.
Afterall, I've added the field in the field and everything works fine now.
answered Feb 27 '12 at 13:21
If you are using a database that was created before the changes in https://github.com/treeio/treeio/pull/10/files you will need to run a schema migration. This, very simply, adds the new changes to your database.
You just need to run
More detail on South database migrations relations can be found here: http://south.aeracode.org/docs/tutorial/part1.html#changing-the-model
As for upgrading, because you have installed from https://github.com/treeio/treeio you can just issue
Please let me know if this all works for you!
answered Feb 26 '12 at 21:45