Tree.io community has moved to GitHub's Issues, please use this for all new questions.

×
← Return to Tree.io
login about faq

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

obenadi's gravatar image

obenadi
41112


Hi Adam:

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.

Thanks !

Oscar

answered Feb 27 '12 at 13:21

obenadi's gravatar image

obenadi
41112

Hi obenadi,

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 python manage.py migrate projects

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 git pull and get the lastest updates. If you ever need to run migrations again it should be a case of running python manage.py migrate --all

Please let me know if this all works for you!

Adam

answered Feb 26 '12 at 21:45

Adam's gravatar image

Adam ♦♦
1.5k26

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×15
×1

Asked: Feb 25 '12 at 10:35

Seen: 1,436 times

Last updated: Feb 27 '12 at 13:21

© 2013 Tree.io Ltd. All rights reserved.
Registered in England. Company No. 07416236