Starting to add locked until
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
(-> e
|
||||
(assoc :client/yodlee-provider-accounts (get e :yodlee-provider-account/_client))
|
||||
(assoc :client/plaid-items (get e :plaid-item/_client))
|
||||
(update :client/locked-until #(some-> % coerce/to-date-time))
|
||||
(update :client/location-matches
|
||||
(fn [lms]
|
||||
(map #(assoc % :location-match/match (first (:location-match/matches %))) lms)))
|
||||
|
||||
@@ -52,4 +52,10 @@
|
||||
::migrate-bank-account-numeric-codes
|
||||
{:txes-fn `migrate-bank-account-numeric-codes
|
||||
:requires [::add-bank-account-current-balance
|
||||
::add-bank-account-numeric-codes]}})
|
||||
::add-bank-account-numeric-codes]}
|
||||
|
||||
::add-locked-until
|
||||
{:txes [[{:db/ident :client/locked-until
|
||||
:db/doc "No new data before this date can be added/changed"
|
||||
:db/valueType :db.type/instant
|
||||
:db/cardinality :db.cardinality/one}]]}})
|
||||
|
||||
Reference in New Issue
Block a user