From afb5ec36696b8b8fc3b50181ee6dbfb38978efff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6pf?= Date: Sat, 17 Dec 2022 23:31:35 +0100 Subject: [PATCH] change alembic file_template --- backend/alembic.ini | 2 +- ...vision.py => 2022_12_15_0000-23e5fea252dd_first_revision.py} | 0 ...cture.py => 2022_12_16_0000-cd7de470586e_v1_db_structure.py} | 0 ...> 2022_12_17_2230-6368515778c5_add_auth_method_to_person.py} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename backend/alembic/versions/{23e5fea252dd_first_revision.py => 2022_12_15_0000-23e5fea252dd_first_revision.py} (100%) rename backend/alembic/versions/{cd7de470586e_v1_db_structure.py => 2022_12_16_0000-cd7de470586e_v1_db_structure.py} (100%) rename backend/alembic/versions/{6368515778c5_add_auth_method_to_person.py => 2022_12_17_2230-6368515778c5_add_auth_method_to_person.py} (100%) diff --git a/backend/alembic.ini b/backend/alembic.ini index 36a8c3ae..44829313 100644 --- a/backend/alembic.ini +++ b/backend/alembic.ini @@ -8,7 +8,7 @@ script_location = %(here)s/alembic # 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_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s +file_template = %%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s # sys.path path, will be prepended to sys.path if present. # defaults to the current working directory. diff --git a/backend/alembic/versions/23e5fea252dd_first_revision.py b/backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py similarity index 100% rename from backend/alembic/versions/23e5fea252dd_first_revision.py rename to backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py diff --git a/backend/alembic/versions/cd7de470586e_v1_db_structure.py b/backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py similarity index 100% rename from backend/alembic/versions/cd7de470586e_v1_db_structure.py rename to backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py diff --git a/backend/alembic/versions/6368515778c5_add_auth_method_to_person.py b/backend/alembic/versions/2022_12_17_2230-6368515778c5_add_auth_method_to_person.py similarity index 100% rename from backend/alembic/versions/6368515778c5_add_auth_method_to_person.py rename to backend/alembic/versions/2022_12_17_2230-6368515778c5_add_auth_method_to_person.py