Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Attribute alteration #78

@rnewman

Description

@rnewman

Datomic allows you to alter :db/cardinality, :db/isComponent, :db/noHistory, :db/index and :db/unique via :db.alter/attribute transacts. Datomic doesn't allow you to alter :db/valueType (which I think is fine) or :db/fulltext (which I think we could support with little effort).

I think we'll need to support these kinds of alterations, automatically effected by ensureSchema, in order to do very basic schema fixing/tweaking, particularly from JS code.

Note that this doesn't include actually managing schema versions and migrating data — these attribute alterations fail if the store contains incompatible data.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions