103a86f440
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. |
||
---|---|---|
.. | ||
places | ||
test | ||
db_test.cljc | ||
jdbc_sqlite_test.clj | ||
promise_sqlite_test.cljs | ||
query_test.cljc | ||
schema_changes_test.cljc | ||
schema_management_test.cljc | ||
schema_test.cljc | ||
sqlite_user_version_test.cljc | ||
test.cljs | ||
test_macros_test.clj | ||
test_macros_test.cljs | ||
tofinoish_test.cljc | ||
transact_test.cljc | ||
util_test.cljc |