Spaces:
Sleeping
Sleeping
File size: 440 Bytes
57a6662 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | import sys
import os
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
from src.database import engine
from src.models.user import User
from src.models.task import Task
from src.models.project import Project
from src.models.conversation import Conversation
from src.models.message import Message
from sqlmodel import SQLModel
# Create all tables
SQLModel.metadata.create_all(engine)
print('Database tables created successfully') |