mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 10:46:54 +00:00
fix(database) unique for collectionName + fieldName
This commit is contained in:
parent
cf89f4f428
commit
acb2e02c11
@ -9,6 +9,12 @@ export default {
|
||||
name: 'sort',
|
||||
scopeKey: 'parentKey',
|
||||
},
|
||||
indexes: [
|
||||
{
|
||||
type: 'UNIQUE',
|
||||
fields: ['collectionName', 'name'],
|
||||
},
|
||||
],
|
||||
fields: [
|
||||
{
|
||||
type: 'uid',
|
||||
|
Loading…
Reference in New Issue
Block a user