diff --git a/src/JobsJobsJobs/Citizens/Data.fs b/src/JobsJobsJobs/Citizens/Data.fs index 9b685c8..3c78ce5 100644 --- a/src/JobsJobsJobs/Citizens/Data.fs +++ b/src/JobsJobsJobs/Citizens/Data.fs @@ -253,7 +253,7 @@ let migrateLegacy currentId legacyId = backgroundTask { conn |> Sql.existingConnection |> Sql.query $"SELECT * FROM {Table.Success} WHERE data @> @criteria" - |> Sql.parameters [ "@criteria", Sql.string oldCriteria ] + |> Sql.parameters [ "@criteria", Sql.jsonb oldCriteria ] |> Sql.executeAsync toDocument for success in successes do let newSuccess = { success with Id = SuccessId.create (); CitizenId = currentId } diff --git a/src/JobsJobsJobs/Directory.Build.props b/src/JobsJobsJobs/Directory.Build.props index e803ac5..d4a5fc7 100644 --- a/src/JobsJobsJobs/Directory.Build.props +++ b/src/JobsJobsJobs/Directory.Build.props @@ -4,7 +4,7 @@ enable embedded false - 3.0.1.0 - 3.0.1.0 + 3.0.2.0 + 3.0.2.0