15 lines
318 B
Python
15 lines
318 B
Python
from __future__ import annotations
|
|
|
|
from sakura_cloud.db.base import Base
|
|
from sakura_cloud.db.session import engine
|
|
from sakura_cloud import models # noqa: F401
|
|
|
|
|
|
def main() -> None:
|
|
Base.metadata.create_all(bind=engine)
|
|
print("Sakura Cloud database tables created.")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|