Skip to content

Commit d3507f6

Browse files
select uuid
1 parent 3578323 commit d3507f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/management/load_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def load_sample_data(
277277
session = next(get_session())
278278
districtr_map_exists = session.execute(
279279
sa.text(
280-
"select 1 from districtrmap where districtr_map_slug = :slug limit 1"
280+
"select uuid from districtrmap where districtr_map_slug = :slug limit 1"
281281
),
282282
{"slug": view.districtr_map_slug},
283283
).one_or_none()

0 commit comments

Comments
 (0)