pythonmysqlmigrationpython-elixir

Add new column on Elixir


I use Elixir as an ORM for a MySQL database. I want to add new column to my schema. / How can I keep the original data in MySQL and update the schema automatically? The concept is called migrate in Ruby on rails.


Solution

  • You're looking for sqlalchemy-migrate. Elixir is a layer on top of SQLAlchemy, and sqlalchemy-migrate was inspired by RoR migrate.