CREATE TABLE IF NOT EXISTS dokuwiki_originals (
    id TEXT PRIMARY KEY,
    node_id TEXT NOT NULL REFERENCES nodes(id),
    source_path TEXT NULL,
    source_type TEXT NOT NULL,
    imported_at TEXT NOT NULL
);