Skip to content

docs(admin): add db:schema:check command - #15482

Open
joshtrichards wants to merge 1 commit into
masterfrom
jtr/docs-admin-db-check-new-cmd
Open

docs(admin): add db:schema:check command#15482
joshtrichards wants to merge 1 commit into
masterfrom
jtr/docs-admin-db-check-new-cmd

Conversation

@joshtrichards

Copy link
Copy Markdown
Member

☑️ Resolves

Documents the new db:schema:check command introduced in Nextcloud 35 via nextcloud/server#63351

The new section explains:

  • How the command compares the live database schema with the expected schema
  • How to limit the check to a specific table
  • Supported plain, JSON, and JSON-pretty output
  • Finding types and fields returned in machine-readable output
  • Exit status behavior for matching and differing schemas
  • Potential differences caused by database defaults or disabled apps
  • The automatic schema check and warning output during occ upgrade

🖼️ Screenshots

✅ Checklist

  • I have built the documentation locally and reviewed the output
  • Screenshots are included for visual changes
  • I have not moved or renamed pages (or added a redirect if I did)
  • I have run codespell or similar and addressed any spelling issues

Documents new command that was added in nextcloud/server#63351

Assisted-by: Copilot:gpt-5.6-sol

Signed-off-by: Josh <josh.t.richards@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

📖 Documentation Preview

🔍 Open preview →

📄 1 changed documentation page

Last updated: Mon, 24 Aug 2026 03:48:58 GMT

@Antreesy

Copy link
Copy Markdown
Contributor

Thanks for adding it!

I'm not sure yet, if it will be 35+ only, or backported to maintained stables as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants