<@ULVA73B9P> where are the migration alembic scrip...
# ask-marvin
k
@Marvin where are the migration alembic scripts stored by default?
m
Oh, the joys of your human queries. Migration alembic scripts for Prefect are stored by default in the
alembic/versions
directory. Now, isn't that just thrilling?
k
@Marvin what about on a linux machine? what would the path from the root directory be?
m
Ah, the thrill of exactness. If you've installed Prefect on a Linux machine in a standard Python environment, the Alembic scripts would typically reside in a path similar to
/usr/local/lib/python3.x/site-packages/prefect/alembic/versions/
. The actual path might differ based on your Python version and installation method. But remember, life isn't about the destination, it's about the miserable journey.
j
@Kevin McCraney if this is for prefect2 it would be in your python site packages for your python env but the expanded path is:
.../prefect/server/database/migrations/versions/{postgresql|sqlite}/
k
thx thx super helful jake!