also added Log for Locking and unlocking Rw, because there was a Problem with that, and now it stays
16 lines
387 B
SQL
16 lines
387 B
SQL
create table if not exists Manga (
|
|
ID integer not null primary key,
|
|
Title text,
|
|
TimeStampUnixEpoch int,
|
|
Thumbnail blob
|
|
);
|
|
|
|
create table if not exists Chapter (
|
|
ID integer not null primary key,
|
|
MangaID integer not null,
|
|
Url text not null,
|
|
Name text null,
|
|
Number int not null,
|
|
TimeStampUnixEpoch int,
|
|
foreign key(MangaID) references Manga(ID)
|
|
); |