From 748de509f86634128892b395bd415c180b4e8057 Mon Sep 17 00:00:00 2001 From: No767 <73260931+No767@users.noreply.github.com> Date: Mon, 30 Dec 2024 21:05:23 -0800 Subject: [PATCH] add some fixes --- server/migrations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/migrations.py b/server/migrations.py index 33a7581..6ba1445 100644 --- a/server/migrations.py +++ b/server/migrations.py @@ -17,7 +17,7 @@ BE = TypeVar("BE", bound=BaseException) -REVISION_FILE = re.compile(r"(?PV)(?P[0-9]+)__(?P.+).sql") +REVISION_FILE = re.compile(r"(?PV)(?P[\d]+)__(?P.+).sql") POSTGRES_URI = config["postgres_uri"] CREATE_MIGRATIONS_TABLE = """ @@ -169,6 +169,7 @@ async def create_migrations_table() -> None: @click.group(short_help="database migrations util", options_metavar="[options]") def main(): + # We don't have any commands to use as the base group pass