migrations: Add 6.sql: Begin outline index

This commit is contained in:
Albert S. 2023-05-14 14:05:26 +02:00
parent 2b1dc72410
commit 8550506517
2 changed files with 3 additions and 0 deletions

2
shared/migrations/6.sql Normal file
View File

@ -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);

View File

@ -5,5 +5,6 @@
<file>3.sql</file>
<file>4.sql</file>
<file>5.sql</file>
<file>6.sql</file>
</qresource>
</RCC>