from app import create_app, db
from app.models.user import User

app = create_app('development')
with app.app_context():
    user = User.query.filter_by(email='student@qualilearn.com').first()
    if user:
        print(f"User: {user.first_name}")
        print(f"Progress: {user.overall_progress}")
        print(f"Study Time: {user.study_time}")
        print(f"Resume Topic ID: {user.resume_topic_id}")
    else:
        print("User not found")
