mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-24 13:37:13 +00:00
refactor: 统一状态字段类型为字符串并移除租户配额功能
- 将多个模型中的status字段从布尔值改为字符串类型 - 移除租户配额相关字段和功能 - 优化任务调度器中的租户上下文处理 - 清理无用代码和注释
This commit is contained in:
@@ -92,9 +92,6 @@ export interface TenantTable extends BaseType {
|
||||
code?: string;
|
||||
start_time?: string;
|
||||
end_time?: string;
|
||||
max_user_count?: number;
|
||||
enable_quota_limit?: boolean;
|
||||
current_user_count?: number;
|
||||
}
|
||||
|
||||
export interface TenantForm extends BaseFormType {
|
||||
@@ -102,6 +99,4 @@ export interface TenantForm extends BaseFormType {
|
||||
code?: string;
|
||||
start_time?: string;
|
||||
end_time?: string;
|
||||
max_user_count?: number;
|
||||
enable_quota_limit?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user