Or do I have to create index manually?
CREATE TABLE pages(
id INTEGER PRIMARY KEY AUTOINCREMENT,
stitle TEXT UNIQUE,
parent INTEGER,
FOREIGN KEY(parent) REFERENCES pages(id) ON DELETE CASCADE
);
So I should have 2 indexes, right? id and stitle