added userproject table
parent
d7120bb0ba
commit
f5130b73d7
|
|
@ -15,6 +15,12 @@ from sqlalchemy.orm import Mapped, mapped_column, relationship
|
|||
|
||||
from app.database.session import Base
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from app.lyric.models import Lyric
|
||||
from app.song.models import Song
|
||||
from app.user.models import User
|
||||
from app.video.models import Video
|
||||
|
||||
# =============================================================================
|
||||
# User-Project M:N 관계 중계 테이블
|
||||
# =============================================================================
|
||||
|
|
@ -132,13 +138,6 @@ class UserProject(Base):
|
|||
)
|
||||
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from app.lyric.models import Lyric
|
||||
from app.song.models import Song
|
||||
from app.user.models import User
|
||||
from app.video.models import Video
|
||||
|
||||
|
||||
class Project(Base):
|
||||
"""
|
||||
프로젝트 테이블 (사용자 입력 이력)
|
||||
|
|
|
|||
Loading…
Reference in New Issue