From 881c03e99fc5d6ca766e445c85c83b5c699b3870 Mon Sep 17 00:00:00 2001 From: K Agajanian Date: Thu, 5 Sep 2024 18:15:37 -0400 Subject: [PATCH] cat! --- .github/workflows/db-changes-var1.yaml | 1 + alembic.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/db-changes-var1.yaml b/.github/workflows/db-changes-var1.yaml index 294746c..0ad48d2 100644 --- a/.github/workflows/db-changes-var1.yaml +++ b/.github/workflows/db-changes-var1.yaml @@ -112,6 +112,7 @@ jobs: git branch git stash pop alembic -c alembic.ini revision --autogenerate -m "test_new_changes_002" + cat migrations/versions/test_new_changes_002.py - name: Upgrade alembic head with new revision id: run-alembic-upgrade-new diff --git a/alembic.ini b/alembic.ini index 58f98ec..d8a0020 100644 --- a/alembic.ini +++ b/alembic.ini @@ -8,7 +8,7 @@ script_location = ./migrations # Uncomment the line below if you want the files to be prepended with date and time # see https://alembic.sqlalchemy.org/en/latest/tutorial.html#editing-the-ini-file # for all available tokens -file_template = %%(year)d_%%(month).2d_%%(day).2d-%%(rev)s +file_template = %%(slug)s # sys.path path, will be prepended to sys.path if present. # defaults to the current working directory.