Database XML Validator

How can I validate my database.xml?

Is there a validator or a schema file somewhere?

Please have a look to

1 Like

Thank you, this link helps: https://apps.nextcloud.com/schema/apps/database.xsd

So this works fine:

wget -qO appinfo/database.xsd https://apps.nextcloud.com/schema/apps/database.xsd
xmllint -schema appinfo/database.xsd appinfo/database.xml

What I am missing in the spec: Foreign key definition? Not possible?

No, unfortunately

You can also run occ app:check-code that also runs some tests on the schema

1 Like