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