This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-07
Channels
- # beginners (4)
- # boot (186)
- # cider (68)
- # cljsjs (2)
- # cljsrn (6)
- # clojure (103)
- # clojure-dev (1)
- # clojure-russia (117)
- # clojurescript (40)
- # community-development (31)
- # cursive (2)
- # data-science (7)
- # datomic (6)
- # devcards (2)
- # editors-rus (2)
- # emacs (2)
- # jobs (2)
- # ldnclj (2)
- # lein-figwheel (41)
- # off-topic (5)
- # om (50)
- # overtone (2)
- # re-frame (36)
- # reagent (1)
- # spacemacs (3)
- # yada (2)
Ah, ok.
@crocket This was not in response to your question. This was my own question about a different limitation.
@kschrader: should be an ok approach except for the case where the attribute is unique (i.e. being unique is sufficient to keep the index, you’d also have to additionally drop the uniqueness constraint to drop the index)., i.e. (example from docs - last section: http://docs.datomic.com/schema.html#schema-alteration )
[[:db/retract :person/external-id :db/unique :db.unique/identity]
[:db/retract :person/external-id :db/index true]
[:db/add :db.part/db :db.alter/attribute :person/external-id]]