added userproject table

insta
Dohyun Lim 2026-01-15 13:55:43 +09:00
parent d7120bb0ba
commit f5130b73d7
1 changed files with 6 additions and 7 deletions

View File

@ -15,6 +15,12 @@ from sqlalchemy.orm import Mapped, mapped_column, relationship
from app.database.session import Base 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 관계 중계 테이블 # 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): class Project(Base):
""" """
프로젝트 테이블 (사용자 입력 이력) 프로젝트 테이블 (사용자 입력 이력)