mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 10:42:19 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
6b29f3b41d
@ -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';
|
import { defineCollection } from '@nocobase/database';
|
||||||
|
|
||||||
export default defineCollection({
|
export default defineCollection({
|
||||||
dumpRules: 'required',
|
dumpRules: 'required',
|
||||||
name: 'blockTemplateLinks',
|
name: 'blockTemplateLinks',
|
||||||
|
migrationRules: ['overwrite', 'schema-only'],
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
@ -13,6 +13,7 @@ export default defineCollection({
|
|||||||
dumpRules: 'required',
|
dumpRules: 'required',
|
||||||
name: 'blockTemplates',
|
name: 'blockTemplates',
|
||||||
autoGenId: false,
|
autoGenId: false,
|
||||||
|
migrationRules: ['overwrite', 'schema-only'],
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
type: 'uid',
|
type: 'uid',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user