This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-27
Channels
- # bangalore-clj (1)
- # beginners (27)
- # boot (16)
- # cider (14)
- # cljs-dev (94)
- # cljsrn (8)
- # clojure (229)
- # clojure-dev (5)
- # clojure-dusseldorf (6)
- # clojure-italy (8)
- # clojure-norway (8)
- # clojure-russia (22)
- # clojure-sanfrancisco (2)
- # clojure-spec (48)
- # clojure-uk (44)
- # clojurescript (47)
- # core-async (87)
- # cursive (43)
- # datascript (22)
- # datomic (20)
- # defnpodcast (5)
- # emacs (6)
- # hoplon (4)
- # jobs-rus (4)
- # keechma (2)
- # klipse (8)
- # leiningen (2)
- # luminus (2)
- # lumo (14)
- # om (38)
- # onyx (4)
- # overtone (3)
- # pedestal (41)
- # planck (72)
- # powderkeg (42)
- # proton (46)
- # protorepl (9)
- # reagent (9)
- # ring (47)
- # ring-swagger (5)
- # rum (7)
- # sql (22)
- # unrepl (1)
- # untangled (24)
- # vim (19)
- # yada (5)
Hi, I’m looking for a way to manage ‘migrations’ with Datomic. I found https://github.com/rkneufeld/conformity by Ryan Kneufeld. Is this still a good way to go or do people have different/better strategies? Thanks in advance.
@juliobarros You might want to read http://blog.datomic.com/2017/01/the-ten-rules-of-schema-growth.html
@marshall yeah but I still need a way to manage growth. I didn’t necessarily mean changing or breaking the schema.
@juliobarros I prefer a simple .clj file with migrations
I do that for SQL as well as for Datomic
migration frameworks are frequently overengineered
besides the Datomic schema is often idempotent
I suspect re-asserting the schema on each peer start would not be harmful
Thanks @pesterhazy … I haven’t kept up with Datomic lately but I thought I remembered the guideline to not reassert datoms (including schema). Anyway, conformity looks lightweight enough so I’ll go with that. Thanks again.
Hi, I’m trying to load some data into datomic. The entities I’m trying to load have a reference to entities already in the db. Do I have to look up those entity reference before hand, or is there a way to do it all in one go.
i.e. if your location entity has a :location/name attribute that is db.unique/identity