Edit on GitHub
Jump to docs navigation

Nut command / Database / database:check

Note: You are currently reading the documentation for Bolt 3.7. Looking for the documentation for Bolt 5.2 instead?

Nut's database:check command check the database for missing tables and/or columns.

Usage

    php ./app/nut database:check

Example

No changes required

$ php ./app/nut database:update
Your database is already up to date.

New ContentType table required

$ php ./app/nut database:check
Modifications required:
 - Table `bolt_entries` is not present.
One or more fields/tables are missing from the Database. Please run 'nut database:update' to fix this.


Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.