Chapter 2 · Schema

Interactive data model

Twenty-one tables from the social-movie core. Click a box or a chip. The panel lists columns, keys, relations, validations, and any MySQL procedures or functions that touch that table. Nothing here is invented — it is read from Sequelize models and migrations.

Source: backend/src/models (~105 models) and MySQL migrations · September 2026. Festival lookup, prompt, and season tables are omitted on purpose.

21Tables documented
1Live stored procedure
2Live SQL functions
1Function dropped 2023

Catalog of documented tables. Click a chip or a diagram box for columns, keys, validations, and procedures.

Users id · userType · region GU / PPU / GUEST / WEB Movies imdbId PK · slugs genres · platforms · trailers Circles owner · members optional festival Reviews user + movie reactions · stories · chat Recommendations from / to / circle movie · optional review Watchlists user + movie platform · release ping ChatMessages review or rec thread Socket.IO + FCM Notifications 12+ event types mobile inbox · FCM

Accent boxes are the two write-heavy social objects. Junction and lookup tables are in the chip row above.

Notable schema facts

Previous Architecture summary Next API documentation