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.
|
import asyncio
|
|
from src.database.core import Base, engine
|
|
|
|
async def main():
|
|
async with engine.begin() as conn:
|
|
await conn.run_sync(Base.metadata.create_all)
|
|
print("Created tables")
|
|
|
|
p = asyncio.run(main())
|