mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-03 22:49:42 +00:00
Starting db migration file
This commit is contained in:
parent
b2e1e24ca5
commit
c738e35a8c
14 changed files with 477 additions and 39 deletions
|
|
@ -14,8 +14,14 @@ module.exports = (sequelize) => {
|
|||
pash: DataTypes.STRING,
|
||||
type: DataTypes.STRING,
|
||||
token: DataTypes.STRING,
|
||||
isActive: DataTypes.BOOLEAN,
|
||||
isLocked: DataTypes.BOOLEAN,
|
||||
isActive: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
defaultValue: false
|
||||
},
|
||||
isLocked: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
defaultValue: false
|
||||
},
|
||||
lastSeen: DataTypes.DATE
|
||||
}, {
|
||||
sequelize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue