Add: migrations for authors, series, and podcast episodes

This commit is contained in:
Nicholas Wallace 2024-10-19 10:40:17 -07:00
parent d80752cc9d
commit 1fa80e31d1
4 changed files with 93 additions and 3 deletions

View file

@ -54,7 +54,13 @@ class BookAuthor extends Model {
sequelize,
modelName: 'bookAuthor',
timestamps: true,
updatedAt: false
updatedAt: false,
indexes: [
{
name: 'bookAuthor_authorId',
fields: ['authorId']
}
]
}
)