Skip to content

Commit 46c2a80

Browse files
committed
.
1 parent 346377f commit 46c2a80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ def django_db_createdb(request, django_db_createdb) -> bool:
524524
db_name = f'{db_name}_{xdist_suffix}'
525525
db_exists = (result := run_sql(query=f"SELECT EXISTS (SELECT 1 FROM pg_database WHERE datname='{db_name}')", fetch=True)) and result and result[0]
526526
if django_db_createdb or not db_exists:
527-
run_sql('CREATE EXTENSION IF NOT EXISTS vector')
527+
run_sql('CREATE EXTENSION IF NOT EXISTS postgis')
528528
return django_db_createdb or not db_exists
529529
530530
@pytest.fixture(scope='session')

0 commit comments

Comments
 (0)