SQLCREATE TABLE "Serial" ( "Id" INTEGER NOT NULL, "OriginalName" VARCHAR, "EnglishName" VARCHAR, "RussianName" VARCHAR, "SeasonNumber" INTEGER, "Genre" VARCHAR, "Tags" VARCHAR, "ReleaseDate" VARCHAR, "Producer" VARCHAR, "Actors" VARCHAR, "AuthorOriginal" VARCHAR, "Annotation" VARCHAR, "Cover" VARCHAR, "Screenshots" VARCHAR, "Count" INTEGER, PRIMARY KEY ("Id") ) CREATE TABLE "SerialVideo" ( "Id" INTEGER NOT NULL, "SerialId" INTEGER, "FileName" VARCHAR, "Number" INTEGER, "Title" VARCHAR, "Duration" INTEGER, PRIMARY KEY ("Id"), FOREIGN KEY("SerialId") REFERENCES "Serial" ("Id"))