Update database schema

13 views
Skip to first unread message

Pavel V. Kaygorodov

unread,
May 1, 2013, 3:41:29 PM5/1/13
to nagare-users@googlegroups.com users
Hi, All!

I want to add some columns to a table, described into models.py on my nagare app without database re-creation. Is there some examples/tutorials/docs explaining how to do this right way?

Pavel.

Vincent Rialland

unread,
May 2, 2013, 8:49:42 AM5/2/13
to nagare...@googlegroups.com
Hi Pavel,

there's nothing currently bundled with Nagare for database migration.
You can give a try to Alembic (https://pypi.python.org/pypi/alembic/) from SQLAlchemy's author, that handles this, or just do it manually.

Regards,


2013/5/1 Pavel V. Kaygorodov <pa...@inasan.ru>
Hi, All!

I want to add some columns to a table, described into models.py on my nagare app without database re-creation. Is there some examples/tutorials/docs explaining how to do this right way?

Pavel.

--
You received this message because you are subscribed to the Google Groups "Nagare users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nagare-users...@googlegroups.com.
To post to this group, send email to nagare...@googlegroups.com.
Visit this group at http://groups.google.com/group/nagare-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.





--
Vincent RIALLAND
Reply all
Reply to author
Forward
0 new messages