简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM