mentat/test/datomish
Richard Newman 103a86f440 Add a :none migration for schema management. Fixes #113. r=grisha
This allows for code to run before and after a schema fragment is
added for the first time.

The anticipated use for this is twofold:

1. To do initial setup, e.g., defining global entities.
2. To 'adopt' unmanaged attributes already defined in the store.

This 'pre' would manually alter or retract attributes so that the
transact of the new schema datoms can complete.

For example, if properties :foo/bar and :foo/baz will be unchanged,
but :noo/zob needs to change from a string to an integer, the :none
pre-function can alter the ident, and the :none post-function can
migrate and clean up.
2016-11-23 17:06:04 -08:00
..
places Rename datomish.places.import to datomish.places.importer to silence warnings. 2016-11-23 09:02:10 -08:00
test Implement ground. Fixes #99. 2016-10-19 12:54:05 -07:00
db_test.cljc Change license to Apache. Fixes #74. 2016-11-22 11:40:37 -08:00
jdbc_sqlite_test.clj Change license to Apache. Fixes #74. 2016-11-22 11:40:37 -08:00
promise_sqlite_test.cljs Change license to Apache. Fixes #74. 2016-11-22 11:40:37 -08:00
query_test.cljc Change license to Apache. Fixes #74. 2016-11-22 11:40:37 -08:00
schema_changes_test.cljc Change license to Apache. Fixes #74. 2016-11-22 11:40:37 -08:00
schema_management_test.cljc Add a :none migration for schema management. Fixes #113. r=grisha 2016-11-23 17:06:04 -08:00
schema_test.cljc Change license to Apache. Fixes #74. 2016-11-22 11:40:37 -08:00
sqlite_user_version_test.cljc Change license to Apache. Fixes #74. 2016-11-22 11:40:37 -08:00
test.cljs Rename datomish.places.import to datomish.places.importer to silence warnings. 2016-11-23 09:02:10 -08:00
test_macros_test.clj Change license to Apache. Fixes #74. 2016-11-22 11:40:37 -08:00
test_macros_test.cljs Change license to Apache. Fixes #74. 2016-11-22 11:40:37 -08:00
tofinoish_test.cljc Change license to Apache. Fixes #74. 2016-11-22 11:40:37 -08:00
transact_test.cljc Change license to Apache. Fixes #74. 2016-11-22 11:40:37 -08:00
util_test.cljc Add repeated-keys utility. 2016-11-16 21:04:13 -08:00