working on ezcater

ezcater other.

dajusments.

migration for square2
This commit is contained in:
2022-08-19 06:42:40 -07:00
parent dae1cb4a9b
commit bd0f8da16b
21 changed files with 1158 additions and 155 deletions

View File

@@ -449,7 +449,8 @@
:client/square-auth-token
{:client/square-locations [:db/id :square-location/name :square-location/square-id :square-location/client-location]}]) ...]
:in $
:where [?c :client/square-auth-token]]
:where [?c :client/square-auth-token]
(not [?c :client/feature-flags "new-square"])]
(d/db conn)))
([ & codes]
(d/q '[:find [(pull ?c [:db/id
@@ -458,6 +459,7 @@
{:client/square-locations [:db/id :square-location/name :square-location/square-id :square-location/client-location]}]) ...]
:in $ [?code ...]
:where [?c :client/square-auth-token]
(not [?c :client/feature-flags "new-square"])
[?c :client/code ?code]]
(d/db conn)
codes)))