File modules/cms/update/README.md

Last commit: Mon Feb 24 18:36:11 2020 +0100	Jan Dankert	Documentation added.
1 # Updating 2 3 This module is intended to upgrade a database schema. 4 5 ## Usage 6 7 8 The `isUpdateRequired()` method finds out the version of the actual db schema. If it is lower than the last known version, `true` is returned. 9 10 The `update()` applys all necessary changes from the subdirectory `version` to the database. 11 12 ## Example 13 14 ``` 15 $updater = new Update( $database ); 16 17 if ( $updater->isUpdateRequired() ) 18 $updater->update(); 19 ```
Download modules/cms/update/README.md
History Mon, 24 Feb 2020 18:36:11 +0100 Jan Dankert Documentation added.