looqs/shared/migrations/6.sql

3 lines
184 B
MySQL
Raw Normal View 히스토리

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