V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
azure
V2EX  ›  Python

SQLAlchmy有没有类似django-south的工具?在项目没有稳定之前,数据库表结构,字段都可能发生一些修改。怎样无痛修改并且保留数据?

  •  
  •   azure · Oct 13, 2012 · 3871 views
    This topic created in 4957 days ago, the information mentioned may be changed or developed.
    目前项目并不稳定,数据库的结构,表的字段可能发生变动,有没有什么工具快捷的只是结构变动并且保留当前的数据呢?
    3 replies    1970-01-01 08:00:00 +08:00
    iiduce
        1
    iiduce  
       Oct 13, 2012
    俺用mongodb毫无压力。
    monsterxx03
        2
    monsterxx03  
       Oct 14, 2012
    sqlalchemy-migrate
    yaozhifeng
        3
    yaozhifeng  
       Oct 16, 2012
    https://bitbucket.org/zzzeek/alembic

    官方推荐的migration工具
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3030 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 09:33 · PVG 17:33 · LAX 02:33 · JFK 05:33
    ♥ Do have faith in what you're doing.