- Fixed AttributeError in User model (added region_code, preferred_language) - Fixed InvalidRequestError in AssetAssignment (added organization relationship) - Configured STATIC_DIR for translation sync - Applied Alembic migrations for user schema updates
22 lines
1.2 KiB
Python
Executable File
22 lines
1.2 KiB
Python
Executable File
# /opt/docker/dev/service_finder/backend/app/db/base.py
|
|
from app.db.base_class import Base # noqa
|
|
|
|
# Közvetlen importok a fájlokból (Circular Import elkerülése)
|
|
from app.models.address import Address, GeoPostalCode, GeoStreet, GeoStreetType # noqa
|
|
from app.models.identity import User, Person, VerificationToken, Wallet # noqa
|
|
from app.models.organization import Organization, OrganizationMember # noqa
|
|
from app.models.asset import ( # noqa
|
|
Asset, AssetCatalog, AssetCost, AssetEvent,
|
|
AssetFinancials, AssetTelemetry, AssetReview, ExchangeRate
|
|
)
|
|
from app.models.gamification import ( # noqa
|
|
PointRule, LevelConfig, UserStats, Badge, UserBadge, Rating, PointsLedger
|
|
)
|
|
from app.models.system_config import SystemParameter # noqa
|
|
from app.models.history import AuditLog, VehicleOwnership # noqa
|
|
from app.models.document import Document # noqa
|
|
from app.models.translation import Translation # noqa <--- HOZZÁADVA
|
|
from app.models.core_logic import ( # noqa
|
|
SubscriptionTier, OrganizationSubscription, CreditTransaction, ServiceSpecialty
|
|
)
|
|
from app.models.security import PendingAction # noqa <--- CSAK A BIZTONSÁG KEDVÉÉRT, HA EZ IS HIÁNYZOTT VOLNA |