You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
344 B
Python
16 lines
344 B
Python
"""
|
|
Compatibilidade para bootstrap legado.
|
|
Mantem o comando historico `python -m app.db.init_db` delegando para a rotina dedicada.
|
|
"""
|
|
|
|
from app.db.bootstrap import bootstrap_databases
|
|
|
|
|
|
def init_db() -> None:
|
|
"""Mantem compatibilidade com o nome legado do bootstrap."""
|
|
bootstrap_databases()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
init_db()
|