MyVideos48
Table "rating"
Previous topic Chapter index Next topic

System:

Fields
Field Data type PK FK Not Null Default Collate Check On Conflict
idRating integer            
media_id integer              
media_type text              
rating_type text              
rating_max integer              
rating float(50)              
votes integer              
isDefault boolean              

Indexes
Index Fields Primary Unique
ix_rating media_id, media_type    

Foreign keys
      There are no foreign keys for table "rating"

Checks
      There are no checks for table "rating"

Triggers
      There are no triggers for table "rating"

References
      There are no references for table "rating"

Definition:
CREATE TABLE rating (
  idRating     integer PRIMARY KEY AUTOINCREMENT,
  media_id     integer,
  media_type   text,
  rating_type  text,
  rating_max   integer,
  rating       float(50),
  votes        integer,
  isDefault    boolean
);

CREATE INDEX ix_rating
  ON rating
  (media_id, media_type);


Previous topic Chapter index Next topic
Generated by ""SQLite Maestro Professional"" at 08.07.2021 23:49:20