from tortoise import Tortoise, run_async


async def init():
    await Tortoise.init(
        db_url="sqlite://db.sqlite3", modules={"models": ["ninegag.models"]}
    )
    await Tortoise.generate_schemas()


run_async(init())
