mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-12-16 01:52:05 +08:00
Reorganize base modules
This commit is contained in:
@@ -3,11 +3,11 @@ from typing import List, cast
|
||||
from databases import Database
|
||||
from sqlalchemy import Boolean, Column, String, Table
|
||||
|
||||
from fastapi_users.db import BaseUserDatabase
|
||||
from fastapi_users.db.base import BaseUserDatabase
|
||||
from fastapi_users.models import BaseUserDB
|
||||
|
||||
|
||||
class BaseUserTable:
|
||||
class SQLAlchemyBaseUserTable:
|
||||
"""Base SQLAlchemy users table definition."""
|
||||
|
||||
__tablename__ = "user"
|
||||
|
||||
Reference in New Issue
Block a user