Version 3 #40
|
@ -204,6 +204,6 @@ let trySecurityByToken token = backgroundTask {
|
||||||
let legacy () = backgroundTask {
|
let legacy () = backgroundTask {
|
||||||
return!
|
return!
|
||||||
dataSource ()
|
dataSource ()
|
||||||
|> Sql.query $"SELECT * FROM {Table.Citizen} WHERE c.data ->> 'isLegacy' = 'true'"
|
|> Sql.query $"SELECT * FROM {Table.Citizen} WHERE data ->> 'isLegacy' = 'true'"
|
||||||
|> Sql.executeAsync toDocument<Citizen>
|
|> Sql.executeAsync toDocument<Citizen>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user