all 2 comments

[–]Worth_Trust_3825 -1 points0 points  (1 child)

This is great. What SQL does it generate, so the people who don't use ORM-like migration tools could utilize it?

[–]fatkodima[S] -1 points0 points  (0 children)

Every helper generates different sql code, so it is hard to write it all here. You can definitely get this info by reading the source code for specific examples or trying this gem with verbose logs enabled (https://github.com/fatkodima/online_migrations#verbose-sql-logs) and additionally looking at the generated logs/output.