Update docs vault and README for recent features
- New notes: History, Artwork - Rewrite TMDB Integration: single detail request, entry mapper, rate limiter, refresh sync, stale-entry refresh, recommendations - Update pages, routing, API reference, models, database migrations, services, components, hooks, API clients, settings, media system, library, Electron (Tauri in progress) and known issues - Rewrite README for the current React/Express stack and setup
This commit is contained in:
1 parent
06bf902ad3
commit
229ecef902
20 files changed
+479
-162
No files matched your search
@@ -15,6 +15,7 @@ MySQL database named **Showzy**, managed by Sequelize 6 ORM.
|
||||
|
||||
- Connection: `localhost`, user `root`, password `password`
|
||||
- Sync mode: `sequelize.sync({ alter: false })` — no auto-alter in production
|
||||
- Migrations: `config/migrations.js` runs after sync on every start. It adds any column a model defines that the table lacks (additive only, nothing is dropped) and widens a few changed types (`certification`, `last_fetch`, `network_studio`, `networks.name`). New model attributes reach existing databases automatically on the next start.
|
||||
- Logging: writes SQL to `sequelize.log`
|
||||
- Genre seeding: 27 TMDB genres auto-seeded on startup
|
||||
|
||||
@@ -109,6 +110,7 @@ See [[Models]] for detailed field definitions of every model.
|
||||
## Important Files
|
||||
|
||||
- `backend/config/database.js` — Sequelize connection
|
||||
- `backend/config/migrations.js` — Startup column migrations
|
||||
- `backend/config/relations.js` — All associations
|
||||
- `backend/config/dataInitializer.js` — Genre seeding
|
||||
- `backend/config/sequelizeHooks.js` — Collection order hooks
|
||||
|
||||
Reference in new issue
Block a user