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:
parent
70cadcd974
commit
ea8c42411f
2 changed files with 32 additions and 0 deletions
|
@ -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,
|
||||
},
|
||||
|
||||
// ╔═╗╔╦╗╔╗ ╔═╗╔╦╗╔═╗
|
||||
// ║╣ ║║║╠╩╗║╣ ║║╚═╗
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue