I use the migratus project to migrate the database schema using SQL scripts. For some time it took to store the serialized data in some fields of the database. I want to be able to update them (fields with serialized data) content during migration, if necessary.
Tell me, is there a library that supports, along with SQL scripts, the usual clojure code?
modify-sql-fnthat will execute whatever code is written in a special comment inside SQL. But it may be worth making a feature request. And I also barely recall that I saw some kind of library where I was allowed to construct SQL in pieces with a significant use of arbitrary Clojure. If I remember, I will write. - D-sideclj-sql-upseems to solve the problem directly at all :) It has not been updated for a long time. - D-side