Chore: Moved individual models into their own files.

Chore: Updated dependencies.
This commit is contained in:
2021-03-17 09:39:56 +05:30
parent 716c74c974
commit ea2bfb1c0c
89 changed files with 1306 additions and 1068 deletions

View File

@ -2,6 +2,7 @@ import logging
from alembic import context
from barker.core.config import settings
from barker.models.user import User
from sqlalchemy import create_engine, pool
@ -12,8 +13,6 @@ logging.getLogger("alembic").setLevel(settings.ALEMBIC_LOG_LEVEL)
# Interpret the config file for Python logging.
# This line sets up loggers basically.
from barker.models.auth import User # noqa
target_metadata = User.metadata