mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-04-25 02:20:02 -04:00
20 lines
536 B
PL/PgSQL
20 lines
536 B
PL/PgSQL
begin;
|
|
|
|
alter table gocoder.info add column ver_fingerprint integer not null default 0;
|
|
|
|
create table gocoder.fingerprints(
|
|
id integer not null primary key references gocoder.info(id) on delete cascade,
|
|
start_data text not null,
|
|
end_data text not null
|
|
);
|
|
|
|
create table gocoder.chapterprints(
|
|
id serial primary key,
|
|
data text not null
|
|
);
|
|
|
|
alter table gocoder.chapters add column fingerprint_id integer references gocoder.chapterprints(id) on delete set null;
|
|
alter table gocoder.chapters add column match_accuracy integer;
|
|
|
|
commit;
|