plus de requete

This commit is contained in:
trochas
2024-12-11 14:08:45 +01:00
parent 676057fde8
commit 11fa027f8c
3 changed files with 39 additions and 14 deletions

View File

@@ -114,7 +114,7 @@ def reset_database_postgres():
try:
with connect_postgres() as conn:
with conn.cursor() as cursor:
cursor.execute('DROP TABLE IF EXISTS flights,airlines,airports')
cursor.execute('DROP TABLE IF EXISTS flights,airlines,airports,flights10')
conn.commit()
cursor.close()
conn.close()