807 B
807 B
Database
Overview
MySQL database named "Showzy", managed by Sequelize ORM. Schema sync uses { alter: doUpdate } where doUpdate = false by default.
Key Models
Entry— Movies and TV seriesSeason— TV seasons (belongs to Entry)Episode— TV episodes (belongs to Season)EntrySeen— Movie watch records (hasaccuracyfield: EXACT, ESTIMATED, UNKNOWN)EpisodeSeen— Episode watch records (hasaccuracyfield: EXACT, ESTIMATED, UNKNOWN)Media— Image file references (posters, logos, backdrops, stills)Collection,Genre,Network,People,Credit,Franchise
Important Files
backend/config/database.js— Connection configbackend/config/relations.js— Model associationsbackend/models/— All Sequelize model definitions