阅读背景:

django:更新数据库模式而不会丢失数据

来源:互联网 

What is the best solution if I want to upgrade (alter) my database schema (add new fields to tables by adding them just to django models) without losing data in these tables? "syncdb" not adding them of course, so I need your advices how to alter tables without deleting them and recreating again with syncdb.What is the best solution if I want to upgrade




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: