fix: Fix migration import path
This commit is contained in:
parent
8df513b84f
commit
fd81b38c0c
1 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
"""
|
"""
|
||||||
Migration to add youtube_link column to show, song, and performance tables.
|
Migration to add youtube_link column to show, song, and performance tables.
|
||||||
"""
|
"""
|
||||||
|
import sys
|
||||||
|
import os
|
||||||
|
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||||
|
|
||||||
from sqlmodel import Session, create_engine, text
|
from sqlmodel import Session, create_engine, text
|
||||||
from database import DATABASE_URL
|
from database import DATABASE_URL
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue