|
7 | 7 | from sqlalchemy.ext.asyncio import async_engine_from_config |
8 | 8 |
|
9 | 9 | from alembic import context |
10 | | -from src.core.authorization.infrastructure.models.casbin_rule_model import ( |
| 10 | +from src.core.config.setting import get_settings |
| 11 | +from src.core.security.infrastructure.models.audit_log_model import ( |
| 12 | + AuditLogModel, # noqa: F401 |
| 13 | +) |
| 14 | +from src.core.security.infrastructure.models.error_trace_model import ( |
| 15 | + ErrorTraceModel, # noqa: F401 |
| 16 | +) |
| 17 | +from src.core.security.infrastructure.models.login_attempt_model import ( |
| 18 | + LoginAttemptModel, # noqa: F401 |
| 19 | +) |
| 20 | +from src.modules.authorization.infrastructure.models.casbin_rule_model import ( |
11 | 21 | CasbinRuleModel, # noqa: F401 |
12 | 22 | ) |
13 | | -from src.core.authorization.infrastructure.models.permission_model import ( |
| 23 | +from src.modules.authorization.infrastructure.models.permission_model import ( |
14 | 24 | PermissionModel, # noqa: F401 |
15 | 25 | ) |
16 | | -from src.core.authorization.infrastructure.models.resource_model import ( |
| 26 | +from src.modules.authorization.infrastructure.models.resource_model import ( |
17 | 27 | AuthorizationResourceModel, # noqa: F401 |
18 | 28 | ) |
19 | | -from src.core.authorization.infrastructure.models.role_model import ( |
| 29 | +from src.modules.authorization.infrastructure.models.role_model import ( |
20 | 30 | RoleModel, # noqa: F401 |
21 | 31 | ) |
22 | | -from src.core.authorization.infrastructure.models.role_permission_model import ( |
| 32 | +from src.modules.authorization.infrastructure.models.role_permission_model import ( |
23 | 33 | RolePermissionModel, # noqa: F401 |
24 | 34 | ) |
25 | | -from src.core.authorization.infrastructure.models.user_has_role_model import ( |
| 35 | +from src.modules.authorization.infrastructure.models.user_has_role_model import ( |
26 | 36 | UserHasRoleModel, # noqa: F401 |
27 | 37 | ) |
28 | | -from src.core.config.setting import get_settings |
29 | | -from src.core.security.infrastructure.models.audit_log_model import ( |
30 | | - AuditLogModel, # noqa: F401 |
31 | | -) |
32 | | -from src.core.security.infrastructure.models.error_trace_model import ( |
33 | | - ErrorTraceModel, # noqa: F401 |
34 | | -) |
35 | | -from src.core.security.infrastructure.models.login_attempt_model import ( |
36 | | - LoginAttemptModel, # noqa: F401 |
37 | | -) |
38 | 38 | from src.modules.todo.infrastructure.models.todo_model import TodoModel # noqa: F401 |
39 | 39 | from src.modules.user.infrastructure.models.refresh_token_model import ( |
40 | 40 | RefreshTokenModel, # noqa: F401 |
|
0 commit comments