timeman/init_db.py

4 lines
No EOL
86 B
Python

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