1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 13:19:44 +02:00

feat: apiKey migration

This commit is contained in:
Samuel 2025-07-13 01:00:33 +02:00
parent 70cadcd974
commit ea8c42411f
2 changed files with 32 additions and 0 deletions

View file

@ -204,6 +204,19 @@ module.exports = {
type: 'ref',
columnName: 'password_changed_at',
},
apiKeyPrefix: {
type: 'string',
columnName: 'api_key_prefix',
isNotEmptyString: true,
allowNull: true,
unique: true,
},
apiKeyHash: {
type: 'string',
columnName: 'api_key_hash',
isNotEmptyString: true,
allowNull: true,
},
// ╔═╗╔╦╗╔╗ ╔═╗╔╦╗╔═╗
// ║╣ ║║║╠╩╗║╣ ║║╚═╗