MyVideos48
Table "uniqueid"
Previous topic Chapter index Next topic

System:

Fields
Field Data type PK FK Not Null Default Collate Check On Conflict
idUniqueID integer            
media_id integer              
media_type text              
value text              
type text              
isDefault boolean       0      

Indexes
Index Fields Primary Unique
ix_uniqueid1 media_id, media_type, type    
ix_uniqueid2 media_type, value    

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

Checks
      There are no checks for table "uniqueid"

Triggers
      There are no triggers for table "uniqueid"

References
      There are no references for table "uniqueid"

Definition:
CREATE TABLE uniqueid (
  idUniqueID  integer PRIMARY KEY,
  media_id    integer,
  media_type  text,
  value       text,
  type        text,
  isDefault   boolean DEFAULT 0
);

CREATE INDEX ix_uniqueid1
  ON uniqueid
  (media_id, media_type, type);

CREATE INDEX ix_uniqueid2
  ON uniqueid
  (media_type, value);


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