[refactor] remove email field in account
This commit is contained in:
parent
38ec77b97b
commit
a6da75f8e9
|
@ -211,3 +211,5 @@
|
|||
(def v14 (assoc-in v13
|
||||
[:properties :desktop-alpha-release-warning-shown?]
|
||||
{:type :bool :default false}))
|
||||
|
||||
(def v15 (update v14 :properties dissoc :email))
|
||||
|
|
|
@ -59,6 +59,11 @@
|
|||
extension/v12
|
||||
account/v14])
|
||||
|
||||
(def v16 [network/v1
|
||||
bootnode/v4
|
||||
extension/v12
|
||||
account/v15])
|
||||
|
||||
;; put schemas ordered by version
|
||||
(def schemas [{:schema v1
|
||||
:schemaVersion 1
|
||||
|
@ -104,4 +109,7 @@
|
|||
:migration migrations/v14}
|
||||
{:schema v15
|
||||
:schemaVersion 15
|
||||
:migration migrations/v15}])
|
||||
:migration migrations/v15}
|
||||
{:schema v16
|
||||
:schemaVersion 16
|
||||
:migration migrations/v16}])
|
||||
|
|
|
@ -111,3 +111,6 @@
|
|||
|
||||
(defn v15 [old-realm new-realm]
|
||||
(log/debug "migrating base database v15: " old-realm new-realm))
|
||||
|
||||
(defn v16 [old-realm new-realm]
|
||||
(log/debug "migrating base database v16: " old-realm new-realm))
|
||||
|
|
|
@ -67,7 +67,6 @@
|
|||
:public-key nil}}
|
||||
current-account {:last-updated 0,
|
||||
:address "f23d28f538fd8cd4a90c2d96ca89f5bccca5383f",
|
||||
:email nil,
|
||||
:signed-up? true,
|
||||
:sharing-usage-data? false,
|
||||
:name "User A",
|
||||
|
|
Loading…
Reference in New Issue