14 lines
217 B
Python
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.")
|