python - SqlAlchemy add new Field to class and create corresponding column in table -
i want add field existing mapped class, how update sql table automatically. sqlalchemy provide method update database new column, if field added class.
sqlalchemy doesn't support automatic updates of schema, there third party sqlalchemy migrate tool automate migrations. though "database schema versioning workflow" chapter see how works.
Comments
Post a Comment