开发者

Add new column on Elixir

开发者 https://www.devze.com 2023-01-20 04:10 出处:网络
开发者_运维问答I use Elixir as an ORM for a MySQL database. I want to add new column to my schema.

开发者_运维问答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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号