pyrom/app/schema.py
2025-06-29 18:17:04 +03:00

14 lines
217 B
Python

from .db import db
# list of statements
SCHEMA = [
]
def create():
print("Creating schema...")
with db.transaction():
for stmt in SCHEMA:
db.execute(stmt)
print("Schema completed.")