Skip to content

Commit

Permalink
add some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
No767 committed Dec 31, 2024
1 parent cd9c8ec commit 748de50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

BE = TypeVar("BE", bound=BaseException)

REVISION_FILE = re.compile(r"(?P<kind>V)(?P<version>[0-9]+)__(?P<description>.+).sql")
REVISION_FILE = re.compile(r"(?P<kind>V)(?P<version>[\d]+)__(?P<description>.+).sql")
POSTGRES_URI = config["postgres_uri"]

CREATE_MIGRATIONS_TABLE = """
Expand Down Expand Up @@ -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


Expand Down

0 comments on commit 748de50

Please sign in to comment.