from app import db db.create_all() print("Database and tables created successfully.")