π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Migrations for pin doc
Smaug6739ad56c595df56
diff --git a/backend/migrations/000007_pin_doc.down.sql b/backend/migrations/000007_pin_doc.down.sqlnew file mode 100644index 00000000..823bcdd1--- /dev/null+++ b/backend/migrations/000007_pin_doc.down.sql@@ -0,0 +1,2 @@+alter table documents+ drop column pinned;\ No newline at end of filediff --git a/backend/migrations/000007_pin_doc.up.sql b/backend/migrations/000007_pin_doc.up.sqlnew file mode 100644index 00000000..225ceac4--- /dev/null+++ b/backend/migrations/000007_pin_doc.up.sql@@ -0,0 +1,2 @@+alter table documents+ add pinned int default 0 null after tags;\ No newline at end of file