Hi all, is there a tool or program you're using to visualize your schema? Ideally I'd like to produce something like https://cdn.nextjournal.com/data/QmNuS8YKMJYgBa47oN8Y6P6rKF5um7zm9TwrAWUvMtyHEE?filename=relationships.png&content-type=image/png. Currently using graphviz and it looks a bit haphazard
I’ve seen https://c-132.com/schema-cartographer/ used. There is a risk of thinking too rectangular when thinking in entities. Just keep in mind that attributes are global and you can make more general attributes your system.
Looks like you can get really close by using graphviz records
Like I mentioned, I'm currently using graphviz, so it looks more like the aftermath of a cat finding a ball of yarn.
But you bring up an interesting point, while attributes are global, in all examples I saw they were usually coupled to the entity semantically, i.e.
They can be coupled as
:entity1/attribute1 , but actual runtime instances of entities can be made up of attributes from many different schema entities, so
:entity1/attribute1 can be in the same runtime entity as
:entity1/attribute1 was a general kind of attribute then it would find itself in many runtime entities, so
Also, FWIW @ben.sless that schema diagram is hand made with omnigraffle. There isn’t any magic automation for it.
Ah, that's unfortunate
Dunno if this works for you, but I added a job in my build script for ion push that writes the current sha into the resources folder before packing into the jar.
Hi all! We're looking to get an informal assessment of how Datomic Cloud customers access cloud. If you wouldn't mind taking some time to fill out he poll on our forums here it would be much appreciated:
Feel free to add any thoughts/wishes/context/desires in the thread under the poll.
I just started an Ion, but I guess Datomic runs on JVM 8 and I hadn't considered that. I'm accustomed to using the newer date/time classes on JVM 11. What do you typically use for dates & times on older JVMs? Is there a popular library?
Java 8 has the java.time classes
Thanks. I guess it's just LocalDate/ofInstant that's missing, and I can adjust to that
I should have read the exception more carefully 😶