fix: data source collection dump rules

This commit is contained in:
Chareice 2024-03-04 20:44:00 +08:00
parent f619c4e6c0
commit c1c4d93dce
No known key found for this signature in database
4 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import { defineCollection } from '@nocobase/database';
export default defineCollection({
name: 'dataSourcesCollections',
model: 'DataSourcesCollectionModel',
dumpRules: 'required',
shared: true,
autoGenId: false,
timestamps: false,

View File

@ -3,6 +3,7 @@ import { defineCollection } from '@nocobase/database';
export default defineCollection({
name: 'dataSourcesFields',
model: 'DataSourcesFieldModel',
dumpRules: 'required',
shared: true,
autoGenId: false,
timestamps: false,

View File

@ -2,6 +2,7 @@ import { defineCollection } from '@nocobase/database';
export default defineCollection({
name: 'dataSourcesRoles',
dumpRules: 'required',
autoGenId: false,
timestamps: false,
model: 'DataSourcesRolesModel',

View File

@ -5,6 +5,7 @@ export default defineCollection({
model: 'DataSourceModel',
autoGenId: false,
shared: true,
dumpRules: 'required',
fields: [
{
type: 'string',