14 lines
221 B
Python
14 lines
221 B
Python
from __future__ import annotations
|
|
|
|
from .db import run_migrations
|
|
|
|
|
|
def main() -> None:
|
|
"""Run database migrations when invoked as a module or script."""
|
|
|
|
run_migrations()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|