简体   繁体   中英

Play framework : tool to generate Evolutions scripts?

I have a Postgres database and I'm using play's evolutions. I have 1.sql and 2.sql. So far I've been writing the Ups and Downs by hand but there's certainly a better way of generating DDLs?

Thank you!

I strongly suggest 0xDBE , which is yet another SQL client but somehow more clever than others. Whenever you perform drop/alter/create operations from user friendly interface, it displays performed SQL query in SQL Preview :

用列创建新表放下桌子

Unfortunately there's no better tool than your hand :/

Auto-evolutions works well when working with 1.sql on the beginning, but later you need to write'em yourself :/.

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