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

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -