Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def examine_database(connection_string: str) -> tuple[bool, int, str]:
with conn.cursor() as cur:
cur.execute("""
SELECT COUNT(*) FROM information_schema.tables
WHERE table_schema = 'public' AND table_type = 'BASE TABLE'
WHERE table_schema = CURRENT_SCHEMA AND table_type = 'BASE TABLE'
""")
table_count = cur.fetchone()[0]
conn.close()
Expand Down