-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add cleanup phpcr database * Apply suggestions from code review Co-authored-by: Prokyonn <[email protected]> --------- Co-authored-by: Prokyonn <[email protected]>
- Loading branch information
1 parent
2e197e8
commit 7b3228b
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Cleanup PHPCR database | ||
====================== | ||
|
||
If you have an older installation of Sulu, you may be dealing with a database cluttered with outdated PHPCR properties. | ||
This is particularly common if you’ve made significant changes to your templates or content types over time. | ||
To tidy up your database, try running the following command: | ||
|
||
.. code-block:: bash | ||
php bin/console sulu:document:phpcr-cleanup | ||
The command is quite powerful, but exercise caution when deploying it in a production environment. | ||
It will remove all properties not currently utilized in your templates. To avoid potential pitfalls, ensure you have a | ||
backup of your database in place before executing this command. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters