task: add send common mail task
All checks were successful
Gitea Actions Demo / deploy (push) Successful in 11s
All checks were successful
Gitea Actions Demo / deploy (push) Successful in 11s
This commit is contained in:
15
database/tcontent/debug.py
Normal file
15
database/tcontent/debug.py
Normal 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)
|
||||
Reference in New Issue
Block a user