@whilo Next question:
I want to rename an attribute.
Datomic recommends adding an alias: (d/transact conn [[:db/add :foo/old-attr :db/ident :foo/new-attr]])
Is this supported in Datahike?
Because I get the following Exception when transacting the above:
Execution error (IllegalArgumentException) at datahike.db/rschema (db.cljc:647).
No implementation of method: :kv-reduce of protocol: #'clojure.core.protocols/IKVReduce found for class: datahike.db$remove_schema$fn__32658
Do you have any recommendations on schema changes?@mroerni As of now, this not supported. But we have plans to add this kind of behaviour. Right now I'm moving all the schema interaction completely to the index, so updates like you want to have should be possible then.
For schema changes right now, you can only create a new schema and then migrate all the old data to the new schema.