Fork me on GitHub
#datomic
<
2017-05-07
>
bherrmann13:05:07

Sorry to lob a noob question: but is there a tool which takes an existing SQL Database Schema and converts it into a datomic schema. Isn’t such a transformation possible?

rauh13:05:04

@bherrmann Not automatic by any means, but it might help you little bit: https://gist.github.com/rauhs/309bbd6c270bd8608f0689d8a826c223

bherrmann13:05:45

Thanks @rauh … I think I should probably try converting one of my toy projects from sql to dataomic - that would probably help me grasp the issues.

rauh14:05:22

@bherrmann Sure, let me know if you have any questions. It's not super idiomatic conversion since it won't use ref-many attributes. It just maps a row to an entity.

deg16:05:16

I don't really understand maven, so this question will be a bit vague.... but there seems to be something wrong with the way datomic-pro is being included in my project. I use https://github.com/trptcolin/versioneer to show the versions of libraries in my project. It works correctly on all my other dependencies, but not on datomic_pro. A bit of spelunking shows that versioneer get the info from the dependencies pom.properties file. Datomic_pro lacks this file, though I can see it has the version info in pom.xml. I'm guessing that Datomic's maven_install script may lack some step, maybe?

nikki21:05:43

would it be weird to just use http://docs.datomic.com/clojure/#datomic.api/function plus other stuff to store all your code and not do 'git' or such

nikki21:05:53

and so just have this shared image that people dev on

nikki21:05:01

a database of all the code

nikki21:05:08

and functions require other stuff they need by querying that db

lorenlarsen22:05:02

So I'm trying to build a development environment using Docker. I can launch the transactor, peer and my webapp just fine except the peer needs to have the database created. I use docker-compose to launch everything and I'm looking for suggestions on the best way to create the database after my transactor starts and before my peer container starts up. I'm sure I'm just looking at the problem the wrong way but would appreciate any pointers.