Skip to content

Commit

Permalink
change to prefer
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE committed Apr 26, 2024
1 parent 5f296b4 commit ccf4e9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions posthog/warehouse/models/external_data_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from posthog.models.utils import CreatedMetaFields, UUIDModel, sane_repr
import uuid
import psycopg2
from django.conf import settings
from posthog.warehouse.util import database_sync_to_async


Expand Down Expand Up @@ -87,7 +86,7 @@ def get_postgres_schemas(host: str, port: str, database: str, user: str, passwor
dbname=database,
user=user,
password=password,
sslmode="prefer" if settings.TEST or settings.DEBUG else "require",
sslmode="prefer",
sslrootcert="/tmp/no.txt",
sslcert="/tmp/no.txt",
sslkey="/tmp/no.txt",
Expand Down

0 comments on commit ccf4e9f

Please sign in to comment.