chore: migrate to new dump rule

This commit is contained in:
sealday 2024-03-21 19:50:45 +08:00
parent 7695f2130e
commit 59d2af69c3
5 changed files with 15 additions and 5 deletions

View File

@ -1,7 +1,9 @@
import { defineCollection } from '@nocobase/database';
export default defineCollection({
duplicator: 'optional',
dumpRules: {
group: 'required',
},
name: 'home_page_presentations_attachments',
title: '首页展示图关联',
fields: [

View File

@ -1,7 +1,9 @@
import { defineCollection } from '@nocobase/database';
export default defineCollection({
duplicator: 'optional',
dumpRules: {
group: 'required',
},
name: 'home_page_presentations',
title: '首页展示图配置',
hidden: true,

View File

@ -1,7 +1,9 @@
import { defineCollection } from '@nocobase/database';
export default defineCollection({
duplicator: 'optional',
dumpRules: {
group: 'required',
},
name: 'linkManage',
title: '链接管理',
fields: [

View File

@ -1,7 +1,9 @@
import { defineCollection } from '@nocobase/database';
// 跟随core插件消息通知表
export default defineCollection({
duplicator: 'optional',
dumpRules: {
group: 'required',
},
name: 'system_message',
title: '消息通知',
createdBy: true,

View File

@ -1,7 +1,9 @@
import { defineCollection } from '@nocobase/database';
export default defineCollection({
duplicator: 'optional',
dumpRules: {
group: 'required',
},
name: 'tokenConfiguration',
title: '开放平台 Token 管理',
fields: [