We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bb1ab2 commit d1dd7c6Copy full SHA for d1dd7c6
1 file changed
Sources/LocalAuthentication/Schema/Account.swift
@@ -23,6 +23,7 @@ public class Account: PostgresStORM {
23
public var detail = [String:Any]()
24
public var company = ""
25
public var region = ""
26
+ public var archived = false
27
28
let _r = URandom()
29
@@ -40,6 +41,7 @@ public class Account: PostgresStORM {
40
41
}
42
company = this.data["company"] as? String ?? ""
43
region = this.data["region"] as? String ?? ""
44
+ archived = this.data["archived"] as? Bool ?? false
45
46
47
public func rows() -> [Account] {
@@ -76,6 +78,7 @@ public class Account: PostgresStORM {
76
78
passvalidation = _r.secureToken
77
79
source = s
80
remoteid = rid
81
+ archived = false
82
83
84
public init(validation: String) {
0 commit comments