阅读背景:

Django 1.7迁移添加原始查询以设置auto_increment初始值

来源:互联网 

I am using Django v1.7 and I need to set the initial auto increment value to something like 1000000, I couldn't find any Django docs that shows there is a feature like this, and the model I have have a lot of dependencies, so it's not easy to create a dummy record with key specified and then delete it.I am using Django v1.7 and I need to set the in




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

分享到: