JSchemaChangeset::__construct
Constructor: builds array of $changeItems by processing the .sql files in a folder.
The folder for the Joomla core updates is administrator/components/com_admin/sql/updates/<database>.
Signature
public function __construct(JDatabaseDriver
$db,
[string
$folder = null] )
Parameters
-
$db
- The current database object
-
$folder
- The full path to the folder containing the update queries