Generating clojure code by analyzing the schema.

28 views
Skip to first unread message

Manoj Waikar

unread,
Jun 21, 2011, 3:58:01 AM6/21/11
to lobos-...@googlegroups.com
Hi,

There is already a method named analyze-schema in lobos.analyzer to analyze the schema.

How about having a method to generate Lobos compliant clojure code (from the analyzed schema) which could be further used to specify migrations? So, just like tools like apgdiff generate sql statements to show the difference between the two schemas, this will generate clojure code for a schema (which might typically happen for the first time, after which Lobos will be used to specify migrations).

Thanks,
Manoj.

Nicolas Buduroi

unread,
Jun 21, 2011, 1:53:28 PM6/21/11
to lobos-...@googlegroups.com
That's in my plans but I've not started any work on this yet. Any patch would be welcome.
Reply all
Reply to author
Forward
0 new messages