Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

233 B
Raw Blame
alter table ressources
    drop foreign key ressources_documents_id_fk;

alter table ressources
    add constraint ressources_documents_id_fk
        foreign key (parent_id) references documents (id)
            on delete set null;