Coverage for fastid / database / versioning.py: 100%
8 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-10-18 16:37 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-10-18 16:37 +0000
1from sqlalchemy_continuum.utils import transaction_class, version_class
3from fastid.apps.models import App
4from fastid.auth.models import User
5from fastid.notify.models import EmailTemplate, TelegramTemplate
6from fastid.oauth.models import OAuthAccount, OAuthProvider
7from fastid.webhooks.models import Webhook
9Transaction = transaction_class(User)
11UserVersion = version_class(User)
12OAuthAccountVersion = version_class(OAuthAccount)
13AppVersion = version_class(App)
14OAuthProviderVersion = version_class(OAuthProvider)
15EmailTemplateVersion = version_class(EmailTemplate)
16TelegramTemplateVersion = version_class(TelegramTemplate)
17WebhookVersion = version_class(Webhook)