Created
April 26, 2018 08:05
-
-
Save vvvvalvalval/416187b53b4f641b67f6bde7a98c6163 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Extracting from Datomic datoms which need to be migrated to the PrivateDataStore | |
(d/q '[:find ?e ?old-a ?new-a ?v | |
:in $ [[?old-a ?new-a]] | |
:where | |
[?e ?old-a ?v] | |
(not [?e ?new-a])] | |
db | |
[[:user/email :user/email--k] | |
[:user/first-name :user/first-name--k] | |
[:user/last-name :user/last-name--k]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment