migrations: Add 6.sql: Begin outline index

This commit is contained in:
Albert S. 2023-05-14 14:05:26 +02:00
父節點 2b1dc72410
當前提交 8550506517
共有 2 個檔案被更改,包括 3 行新增0 行删除

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

查看文件

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