mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Add numEpisodes to podcast model
This commit is contained in:
		
							parent
							
								
									23a750214f
								
							
						
					
					
						commit
						e2f1aeed75
					
				| @ -61,6 +61,8 @@ class Podcast extends Model { | ||||
|     this.createdAt | ||||
|     /** @type {Date} */ | ||||
|     this.updatedAt | ||||
|     /** @type {number} */ | ||||
|     this.numEpisodes | ||||
| 
 | ||||
|     /** @type {import('./PodcastEpisode')[]} */ | ||||
|     this.podcastEpisodes | ||||
| @ -138,7 +140,8 @@ class Podcast extends Model { | ||||
|         maxNewEpisodesToDownload: DataTypes.INTEGER, | ||||
|         coverPath: DataTypes.STRING, | ||||
|         tags: DataTypes.JSON, | ||||
|         genres: DataTypes.JSON | ||||
|         genres: DataTypes.JSON, | ||||
|         numEpisodes: DataTypes.INTEGER | ||||
|       }, | ||||
|       { | ||||
|         sequelize, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user