Spaces:
Paused
Paused
Download apps/api/migrations/script.py.mako from nathycodes/presentercoach: direct link, hf CLI and curl.
- Browser
- Download file 468 Bytes
-
https://huggingface.co/spaces/nathycodes/presentercoach/resolve/main/apps/api/migrations/script.py.mako
- Command line
-
hf download hf://spaces/nathycodes/presentercoach/apps/api/migrations/script.py.mako
-
curl -L -o script.py.mako https://huggingface.co/spaces/nathycodes/presentercoach/resolve/main/apps/api/migrations/script.py.mako
468 Bytes
| """${message} | |
| Revision ID: ${up_revision} | |
| Revises: ${down_revision | comma,n} | |
| Create Date: ${create_date} | |
| """ | |
| from alembic import op | |
| import sqlalchemy as sa | |
| ${imports if imports else ""} | |
| revision = ${repr(up_revision)} | |
| down_revision = ${repr(down_revision)} | |
| branch_labels = ${repr(branch_labels)} | |
| depends_on = ${repr(depends_on)} | |
| def upgrade() -> None: | |
| ${upgrades if upgrades else "pass"} | |
| def downgrade() -> None: | |
| ${downgrades if downgrades else "pass"} | |