Welcome! Please see the About page for a little more info on how this works.

+2 votes
in On-Prem by

Assume I have a schema.clj which contains my datomic schema.

Every time I start the application (in development and in production) this schema is transacted so whatever has been added gets correctly transacted too. Now, some time ago I installed a new attribute

{:db/ident :foo/bar ...}

now after a few weeks turns out that I want to rename this attribute :alice/bob.

Following the documentation of datomic i'm supposed to transact

{:db/id :foo/bar :db/ident :alice/bob}

but that clearly doesn't work in development as :foo/bar isn't yet defined when i start my system (the whole schema is transacted at once in the same transaction) but would work on a running system with the attribute already installed.

How do you handle these cases?

Please log in or register to answer this question.

Welcome to the Datomic Knowledgebase, where you can make features requests, ask questions and receive answers from other members of the community.
...