Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2025-04-08 01:27:55 +00:00
commit 6b29f3b41d
2 changed files with 11 additions and 0 deletions

View File

@ -1,8 +1,18 @@
/**
* This file is part of the NocoBase (R) project.
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
* Authors: NocoBase Team.
*
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
* For more information, please refer to: https://www.nocobase.com/agreement.
*/
import { defineCollection } from '@nocobase/database';
export default defineCollection({
dumpRules: 'required',
name: 'blockTemplateLinks',
migrationRules: ['overwrite', 'schema-only'],
fields: [
{
type: 'string',

View File

@ -13,6 +13,7 @@ export default defineCollection({
dumpRules: 'required',
name: 'blockTemplates',
autoGenId: false,
migrationRules: ['overwrite', 'schema-only'],
fields: [
{
type: 'uid',