Custom queries in migration

I want to execute some custom queries in my postgres migration to populate a new table. Does Ash postgres support a way to do this, or should I just edit the generated migration files?
Solution:
But editing the migration is perfectly reasonable for data migrations
Jump to solution
2 Replies
ZachDaniel
ZachDaniel3mo ago
There is a way to do it, yes, but its not necessarily true tha tyou want to do it that way you can use custom_statements
Solution
ZachDaniel
ZachDaniel3mo ago
But editing the migration is perfectly reasonable for data migrations

Did you find this page helpful?