Skip to content

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

Merged
Antreesy merged 2 commits into
masterfrom
jtr/docs-admin-db-check-new-cmd
Sep 4, 2026
Merged

docs(admin): add db:schema:check command#15482
Antreesy merged 2 commits 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

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

📖 Documentation Preview

🔍 Open preview →

📄 1 changed documentation page

Last updated: Fri, 04 Sep 2026 13:50:45 GMT

@Antreesy

Antreesy commented Aug 24, 2026

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.

@Antreesy

Copy link
Copy Markdown
Contributor

Disabled apps generate a lot of false-positive entries, ongoing work to reformat it is in nextcloud/server#63701
I'll take over documentation PR once it's updated

@Antreesy Antreesy self-assigned this Aug 27, 2026
Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
@Antreesy
Antreesy merged commit f3200aa into master Sep 4, 2026
26 checks passed
@Antreesy
Antreesy deleted the jtr/docs-admin-db-check-new-cmd branch September 4, 2026 14:30
@Antreesy

Antreesy commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

/backport to stable35

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