Hi, today we released our first open source project at BUGS Bioscience:
lein-tern <https://github.com/bugsbio/lein-tern>.
Tern is a migrations library that lets you define your migrations as
Clojure maps, like this:
{:up
[{:create-table :cats
:columns [[:id "BIGSERIAL" "PRIMARY KEY"]
[:name "TEXT" "NOT NULL"]
[:paws "INT"]]}]
:down
[{:drop-table :cats}]}
The project is in its very early stages: currently we support creating and
dropping tables, columns and indexes in postgres and mysql. Comments,
suggestions, and pull requests are welcome! It's available on Clojars - add
[lein-tern
"0.1.0"] to the plugins vector of your project.clj.
Thanks,
Russell
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.