diff --git a/shared/migrations/6.sql b/shared/migrations/6.sql new file mode 100644 index 0000000..d6da623 --- /dev/null +++ b/shared/migrations/6.sql @@ -0,0 +1,2 @@ +CREATE TABLE outline(id INTEGER PRIMARY KEY, fileid INTEGER REFERENCES file (id) ON DELETE CASCADE, text varchar(1024), page integer); +CREATE INDEX outline_fileid ON outline (fileid); diff --git a/shared/migrations/migrations.qrc b/shared/migrations/migrations.qrc index da512c4..52ad0b5 100644 --- a/shared/migrations/migrations.qrc +++ b/shared/migrations/migrations.qrc @@ -5,5 +5,6 @@ 3.sql 4.sql 5.sql + 6.sql