codefuse-chatbot/tests/db_create_test.py

12 lines
203 B
Python
Raw Normal View History

2023-09-28 10:58:58 +08:00
import os, sys
src_dir = os.path.join(
os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
)
sys.path.append(src_dir)
from coagent.orm import create_tables
2023-09-28 10:58:58 +08:00
create_tables()