Create all the tables.
()
| 120 | return _ENGINE[url] |
| 121 | |
| 122 | def create_all(): |
| 123 | """Create all the tables.""" |
| 124 | engine = get_engine() |
| 125 | ModelRegistry.get_metadata().create_all(engine) |
| 126 | |
| 127 | def get_async_engine(url: str | None) -> sqlalchemy.ext.asyncio.AsyncEngine: |
| 128 | """Get the async database engine. |
no test coverage detected