plus de requete
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user