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 ha cambiato i file con 3 aggiunte e 0 eliminazioni

2
shared/migrations/6.sql Normal file
Vedi 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);

Vedi File

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