fix: data source collection dump rules
This commit is contained in:
parent
f619c4e6c0
commit
c1c4d93dce
@ -3,6 +3,7 @@ import { defineCollection } from '@nocobase/database';
|
||||
export default defineCollection({
|
||||
name: 'dataSourcesCollections',
|
||||
model: 'DataSourcesCollectionModel',
|
||||
dumpRules: 'required',
|
||||
shared: true,
|
||||
autoGenId: false,
|
||||
timestamps: false,
|
||||
|
@ -3,6 +3,7 @@ import { defineCollection } from '@nocobase/database';
|
||||
export default defineCollection({
|
||||
name: 'dataSourcesFields',
|
||||
model: 'DataSourcesFieldModel',
|
||||
dumpRules: 'required',
|
||||
shared: true,
|
||||
autoGenId: false,
|
||||
timestamps: false,
|
||||
|
@ -2,6 +2,7 @@ import { defineCollection } from '@nocobase/database';
|
||||
|
||||
export default defineCollection({
|
||||
name: 'dataSourcesRoles',
|
||||
dumpRules: 'required',
|
||||
autoGenId: false,
|
||||
timestamps: false,
|
||||
model: 'DataSourcesRolesModel',
|
||||
|
@ -5,6 +5,7 @@ export default defineCollection({
|
||||
model: 'DataSourceModel',
|
||||
autoGenId: false,
|
||||
shared: true,
|
||||
dumpRules: 'required',
|
||||
fields: [
|
||||
{
|
||||
type: 'string',
|
||||
|
Loading…
Reference in New Issue
Block a user