We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(8)
我一直在使用South,但是迁移 看起来也很有希望。
I've been using South, but Migratory looks promising as well.
Migatory 看起来既漂亮又简单。
Migratory looks nice and simple.
如果您使用 SQLAlchemy 作为 ORM,那么事实上的标准是 Alembic。
尚未提及的另一个替代方案是 yoyo-migrations。
If you are using SQLAlchemy as your ORM then the de facto standard is Alembic.
Another alternative that haven't been mentioned is yoyo-migrations.
我们在工作中使用 Django,并且一直在使用 dmigrations。 虽然它有其怪癖,但到目前为止它很有用。 一些功能:
manage.py
集成。一个问题是它目前只支持MySQL。 然而,我们的一个人对其进行了本地破解以支持我们使用的 PostgreSQL。 我记得,黑客攻击的范围并不是那么广泛,因此对其进行黑客攻击以支持其他 RDBMS 应该不会太困难。
We use Django at work, and we've been using dmigrations. While it has its quirks, it's been useful so far. Some features:
manage.py
as a command.One problem is that it only currently supports MySQL. However, one of our guys make a local hack to it to support PostgreSQL, which we use. As I recall, the hack wasn't all that extensive, so it shouldn't be terribly difficult to hack it up to support other RDBMSs.
我喜欢 django-evolution:
优点:
缺点:
I like django-evolution:
pros:
cons:
除了 South、dmigrations、django-evolution 和 Migratory 我想我应该添加 simplemigrations 作为我见过的另一个用于自动化 Django 迁移的工具。
我过去使用过其中三个,但现在手动进行迁移。 由于添加了最新功能,我正在考虑再次尝试 South。
Besides South, dmigrations, django-evolution, and Migratory I thought I would add simplemigrations as another tool I've seen for automating Django migrations.
I've used three of these in the past but do migrations by hand now. I'm thinking about trying South again due to the latest features added.
需要注意的是,自 2009 年以来,除了 South 之外,这里提到的几乎所有项目都已经死了。 无论好坏,South 都是事实上的标准。
Just to note that since 2009, pretty much every project mentioned here other than South is dead. South is the de facto standard, for better or worse.
我一直在使用 simple-db-migrate
优点:
缺点:
I've been using simple-db-migrate
Pros:
Cons: