Spaces:
Runtime error
Runtime error
File size: 376 Bytes
ed0b977 | 1 2 3 4 5 6 7 8 9 10 11 | from main import app, db, Patient
with app.app_context():
print("--- Inspecting Patient Table ---")
patients = Patient.query.all()
if not patients:
print("No patients found in the database.")
for p in patients:
print(f"ID: {p.id} | Name: '{p.name}' | Email: '{p.email}' | Password: '{p.password}'")
print("------------------------------")
|