mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-05-05 07:10:22 +00:00
10 lines
297 B
Python
10 lines
297 B
Python
from alembic import command
|
|
from alembic.config import Config
|
|
from skyvern.constants import REPO_ROOT_DIR
|
|
|
|
|
|
def migrate_db() -> None:
|
|
alembic_cfg = Config()
|
|
path = f"{REPO_ROOT_DIR}/alembic"
|
|
alembic_cfg.set_main_option("script_location", path)
|
|
command.upgrade(alembic_cfg, "head")
|