first (part 2: other directories)
Deploy Iddaai Backend / build-and-deploy (push) Failing after 18s

This commit is contained in:
2026-04-16 15:11:25 +03:00
parent 7814e0bc6b
commit 2f0b85a0c7
203 changed files with 59989 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import os
import psycopg2
def check_live_schema():
try:
db_url = os.environ.get('DATABASE_URL', 'postgresql://suggestbet:SuGGesT2026SecuRe@localhost:15432/boilerplate_db')
conn = psycopg2.connect(db_url)
cursor = conn.cursor()
cursor.execute("SELECT column_name FROM information_schema.columns WHERE table_name = 'live_matches'")
cols = [r[0] for r in cursor.fetchall()]
print("Columns in 'live_matches':")
print(cols)
except Exception as e:
print(e)
if __name__ == "__main__":
check_live_schema()