fix: use json func instead of jsonb
This commit is contained in:
parent
f2f2e09e62
commit
282f764916
|
@ -95,7 +95,7 @@ internal class Command : IDisposable {
|
|||
"""
|
||||
insert into screenshots
|
||||
(hash, path, active_character, location, location_sub, area, area_sub, territory_type, world, world_id, captured_at_local, captured_at_utc, eorzea_time, weather, ward, plot, visible_characters)
|
||||
values ($hash, $path, jsonb($active_character), $location, $location_sub, $area, $area_sub, $territory_type, $world, $world_id, $captured_at_local, $captured_at_utc, $eorzea_time, $weather, $ward, $plot, jsonb($visible_characters))
|
||||
values ($hash, $path, json($active_character), $location, $location_sub, $area, $area_sub, $territory_type, $world, $world_id, $captured_at_local, $captured_at_utc, $eorzea_time, $weather, $ward, $plot, json($visible_characters))
|
||||
""",
|
||||
new Dictionary<string, object?> {
|
||||
["$hash"] = saved.Blake3Hash,
|
||||
|
|
Loading…
Reference in New Issue