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.

Update alexandrie.sql

Raphael Veauvillea111a279b0df
diff --git a/backend/database/alexandrie.sql b/backend/database/alexandrie.sql
index 713f2670..869fddf7 100644
--- a/backend/database/alexandrie.sql
+++ b/backend/database/alexandrie.sql
@@ -103,6 +103,8 @@ CREATE TABLE `categories` (
`name` varchar(50) NOT NULL,
`icon` text,
`order` int DEFAULT NULL,
+ `role` int default 1 NOT NULL, /* '1 = category; 2 = workspace' */
+ `workspace_id` varchar(50) DEFAULT NULL,
`parent_id` varchar(50) DEFAULT NULL,
`author_id` varchar(50) NOT NULL,
PRIMARY KEY (`id`),