Thanks for open sourcing this! I'm not sure I'm understanding what it does correctly. It looks like it installs new attributes and creates the transactions needed to update existing entities? Is that right?
So in the README example, the idea is that you're changing :message/action from a string to a long, and migrate-action-to-number ensures that the attribute gets converted for existing entities? Thanks! Daniel On Friday, November 8, 2013 8:22:44 PM UTC-5, Christopher Allen wrote: > > https://github.com/bitemyapp/brambling/ > > This is a very early point in time for the library, (alpha), but it has > already been useful at work so I figured I would get it out there to see > what bits people did and didn't care about. > > Why this exists: > > As with any historical database you have to migrate the transaction log in > addition to the "current" state of the universe. Conveniently, Datomic > makes querying at arbitrary points of time rather easily. Less > conveniently, there's no map/reduce sugar for performing migrations so I > needed to put together a toolkit to handle reducing over the origin tx-log, > carrying over entity identities consistently (old -> tempid -> new), and > translating the transactions with the new schema being first at the head of > the destination. > > There are some pretty serious limitations (incremental migrations > principally) but I don't think they're showstoppers, and like I said, this > has already been useful for migrating production data. > > Let me know if you have any questions! > > --- Chris > > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com 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 clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.