rename db_new -> db

This commit is contained in:
Jörn-Michael Miehe 2022-03-28 01:34:52 +00:00
parent b4a74aca5f
commit 12432286bf
8 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ from fastapi import FastAPI
from .config import Config, Settings
# from .db.schemata import User
from .db_new import Connection
from .db import Connection
from .routers import main_router
settings = Settings.get()

View file

@ -7,7 +7,7 @@ from fastapi import Depends, HTTPException, status
from fastapi.security import OAuth2PasswordBearer
from ..config import Config
from ..db_new import Capability, User
from ..db import Capability, User
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="user/authenticate")

View file

@ -6,7 +6,7 @@
from fastapi import APIRouter, Depends, HTTPException, status
from ..config import Config
from ..db_new import Capability, Connection, User, UserCreate
from ..db import Capability, Connection, User, UserCreate
from ._common import Responses, get_current_user_if_admin
router = APIRouter(prefix="/admin", tags=["admin"])