mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-28 23:04:59 +02:00
Add: migrations for authors, series, and podcast episodes
This commit is contained in:
parent
d80752cc9d
commit
1fa80e31d1
4 changed files with 93 additions and 3 deletions
|
@ -54,7 +54,13 @@ class BookAuthor extends Model {
|
|||
sequelize,
|
||||
modelName: 'bookAuthor',
|
||||
timestamps: true,
|
||||
updatedAt: false
|
||||
updatedAt: false,
|
||||
indexes: [
|
||||
{
|
||||
name: 'bookAuthor_authorId',
|
||||
fields: ['authorId']
|
||||
}
|
||||
]
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue