mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 06:59:26 +08:00
fix(plugin-auth): update migration rules for issued tokens and token policy config (#6107)
This commit is contained in:
parent
67c1d9d131
commit
c46cdd37ae
@ -13,6 +13,7 @@ import { issuedTokensCollectionName } from '../../constants';
|
|||||||
|
|
||||||
export default defineCollection({
|
export default defineCollection({
|
||||||
name: issuedTokensCollectionName,
|
name: issuedTokensCollectionName,
|
||||||
|
migrationRules: ['schema-only', 'skip'],
|
||||||
autoGenId: false,
|
autoGenId: false,
|
||||||
createdAt: true,
|
createdAt: true,
|
||||||
updatedAt: true,
|
updatedAt: true,
|
||||||
|
@ -13,6 +13,7 @@ import { tokenPolicyCollectionName } from '../../constants';
|
|||||||
|
|
||||||
export default defineCollection({
|
export default defineCollection({
|
||||||
name: tokenPolicyCollectionName,
|
name: tokenPolicyCollectionName,
|
||||||
|
migrationRules: ['overwrite', 'skip'],
|
||||||
autoGenId: false,
|
autoGenId: false,
|
||||||
createdAt: true,
|
createdAt: true,
|
||||||
createdBy: true,
|
createdBy: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user