Advertisement
Ruslan_Rayanov

kinopoisk db structure

Apr 3rd, 2023
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1.  
  2. films (id, name, shortDesc, rectrictionID, hasSubtitles bit, slogan, worldReleaseDate, rfReleaseDate, rating, desc,
  3.  
  4. imdbRating, imdbRateCount,
  5. reviewMinusCount
  6.  
  7. reviewPlusCount
  8. )
  9.  
  10. filmFacts (id, filmID, text, ord, isError bit)
  11.  
  12. linkedFilms (id, filmID, linkFilmID)
  13.  
  14. users (....)
  15. customers (id, userID, nickname, ... reviewsCount)
  16.  
  17. fimlRates (id, rate, created, customerID)
  18. filmReviews(id, created, customerID, title, text, plus, minus,)
  19.  
  20. filmReviewComments (id, reviewID, created, text, customerID)
  21.  
  22. ageRestrictions (id, code)
  23.  
  24.  
  25.  
  26. filmImages (id, url, thumb, isCover, isBackgroud, ord)
  27.  
  28. ---
  29. Справочники для филььма
  30. audiotracks (id, name, code)
  31. filmAudiotracks (id, filmID, trackID)
  32. countries (id, name)
  33.  
  34. filmCountries (id, filmID, countryID)
  35.  
  36. genres (id, name, code, desc, cnt)
  37. filmGenres(id, filmID, genreID)
  38.  
  39. humans (id, fio, desc, countryID, mainPhotoID)
  40.  
  41. humanPhotos (id, url, thumb, humanID, ord)
  42.  
  43.  
  44. filmHumans (id, filmID, humanID, roleID, ord)
  45.  
  46. filmRoles (id, name, code) - актер, режиссер, дубляж и т.д.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement