mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 14:39:25 +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({
|
||||
name: issuedTokensCollectionName,
|
||||
migrationRules: ['schema-only', 'skip'],
|
||||
autoGenId: false,
|
||||
createdAt: true,
|
||||
updatedAt: true,
|
||||
|
@ -13,6 +13,7 @@ import { tokenPolicyCollectionName } from '../../constants';
|
||||
|
||||
export default defineCollection({
|
||||
name: tokenPolicyCollectionName,
|
||||
migrationRules: ['overwrite', 'skip'],
|
||||
autoGenId: false,
|
||||
createdAt: true,
|
||||
createdBy: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user