db fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"""Модуль для работы с базой данных"""
|
||||
from database.connection import get_session, async_session_maker, engine
|
||||
from database.models import User, Book, Author, Genre, Favorite
|
||||
from database.models import User, Book, Author, Genre, Favorite, UserPreferences
|
||||
|
||||
__all__ = [
|
||||
'get_session',
|
||||
@@ -10,6 +10,7 @@ __all__ = [
|
||||
'Book',
|
||||
'Author',
|
||||
'Genre',
|
||||
'Favorite'
|
||||
'Favorite',
|
||||
'UserPreferences'
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user