forked from tctien342/comfy-station
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mikro-orm.config.ts
51 lines (50 loc) · 1.68 KB
/
mikro-orm.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import { defineConfig } from '@mikro-orm/libsql'
import { Client } from './entities/client'
import { ClientStatusEvent } from './entities/client_status_event'
import { ClientMonitorEvent } from './entities/client_monitor_event'
import { ClientMonitorGpu } from './entities/client_monitor_gpu'
import { TokenPermission } from './entities/token_permission'
import { Token } from './entities/token'
import { User } from './entities/user'
import { WorkflowEditEvent } from './entities/workflow_edit_event'
import { Workflow } from './entities/workflow'
import { WorkflowTask } from './entities/workflow_task'
import { WorkflowTaskEvent } from './entities/workflow_task_event'
import { Extension } from './entities/client_extension'
import { ClientActionEvent } from './entities/client_action_event'
import { Job } from './entities/job'
import { JobItem } from './entities/job_item'
import { TokenShared } from './entities/token_shared'
import { Resource } from './entities/client_resource'
import { UserNotification } from './entities/user_notifications'
import { Attachment } from './entities/attachment'
import { Trigger } from './entities/trigger'
import { Tag } from './entities/tag'
export default defineConfig({
entities: [
Trigger,
ClientActionEvent,
ClientMonitorGpu,
ClientMonitorEvent,
ClientStatusEvent,
Client,
Extension,
Resource,
Tag,
Job,
JobItem,
User,
UserNotification,
Token,
TokenShared,
TokenPermission,
Workflow,
WorkflowTask,
WorkflowTaskEvent,
WorkflowEditEvent,
Attachment
],
dbName: 'comfyui.manager.db',
debug: process.env.NODE_ENV === 'development',
discovery: { disableDynamicFileAccess: false }
})