task: add send common mail task
All checks were successful
Gitea Actions Demo / deploy (push) Successful in 11s

This commit is contained in:
konjacpotato
2026-02-15 15:53:48 +08:00
parent 200550b4f8
commit 5c3c429620
19 changed files with 334 additions and 6 deletions

View File

@ -0,0 +1,15 @@
import database.tcontent.model
from database.database import get_session, create_tables
from database.tcontent.crud import drop_table, get_content_by_id
# create_tables()
# with get_session() as db:
# task = get_content_by_id(db, 1)
# print(task)
# print(task.id)
with get_session() as db:
drop_table(db)