chore: migrate to new dump rule
This commit is contained in:
parent
7695f2130e
commit
59d2af69c3
@ -1,7 +1,9 @@
|
|||||||
import { defineCollection } from '@nocobase/database';
|
import { defineCollection } from '@nocobase/database';
|
||||||
|
|
||||||
export default defineCollection({
|
export default defineCollection({
|
||||||
duplicator: 'optional',
|
dumpRules: {
|
||||||
|
group: 'required',
|
||||||
|
},
|
||||||
name: 'home_page_presentations_attachments',
|
name: 'home_page_presentations_attachments',
|
||||||
title: '首页展示图关联',
|
title: '首页展示图关联',
|
||||||
fields: [
|
fields: [
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import { defineCollection } from '@nocobase/database';
|
import { defineCollection } from '@nocobase/database';
|
||||||
|
|
||||||
export default defineCollection({
|
export default defineCollection({
|
||||||
duplicator: 'optional',
|
dumpRules: {
|
||||||
|
group: 'required',
|
||||||
|
},
|
||||||
name: 'home_page_presentations',
|
name: 'home_page_presentations',
|
||||||
title: '首页展示图配置',
|
title: '首页展示图配置',
|
||||||
hidden: true,
|
hidden: true,
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import { defineCollection } from '@nocobase/database';
|
import { defineCollection } from '@nocobase/database';
|
||||||
|
|
||||||
export default defineCollection({
|
export default defineCollection({
|
||||||
duplicator: 'optional',
|
dumpRules: {
|
||||||
|
group: 'required',
|
||||||
|
},
|
||||||
name: 'linkManage',
|
name: 'linkManage',
|
||||||
title: '链接管理',
|
title: '链接管理',
|
||||||
fields: [
|
fields: [
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import { defineCollection } from '@nocobase/database';
|
import { defineCollection } from '@nocobase/database';
|
||||||
// 跟随core插件,消息通知表
|
// 跟随core插件,消息通知表
|
||||||
export default defineCollection({
|
export default defineCollection({
|
||||||
duplicator: 'optional',
|
dumpRules: {
|
||||||
|
group: 'required',
|
||||||
|
},
|
||||||
name: 'system_message',
|
name: 'system_message',
|
||||||
title: '消息通知',
|
title: '消息通知',
|
||||||
createdBy: true,
|
createdBy: true,
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import { defineCollection } from '@nocobase/database';
|
import { defineCollection } from '@nocobase/database';
|
||||||
|
|
||||||
export default defineCollection({
|
export default defineCollection({
|
||||||
duplicator: 'optional',
|
dumpRules: {
|
||||||
|
group: 'required',
|
||||||
|
},
|
||||||
name: 'tokenConfiguration',
|
name: 'tokenConfiguration',
|
||||||
title: '开放平台 Token 管理',
|
title: '开放平台 Token 管理',
|
||||||
fields: [
|
fields: [
|
||||||
|
Loading…
Reference in New Issue
Block a user