From 1293c3dff7d889a80a489cd18f64bcdfdefd8efb Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 16 Mar 2021 14:22:38 +0100 Subject: [PATCH] Mention new database PIP in PHP database API documentation --- docs/package/database-php-api.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/package/database-php-api.md b/docs/package/database-php-api.md index 1b391c23..26a84eef 100644 --- a/docs/package/database-php-api.md +++ b/docs/package/database-php-api.md @@ -7,7 +7,7 @@ We have added a new PHP-based API to manipulate the database scheme which can be ```php $tables = [ - // TODO + // list of `DatabaseTable` objects ]; (new DatabaseTableChangeProcessor( @@ -20,6 +20,14 @@ $tables = [ All of the relevant components can be found in the `wcf\system\database\table` namespace. +With WoltLab Suite 5.4, you should use the new [database](pip/database.md) package installation plugin for which you only have to return the array of affected database tables: + +```php +return [ + // list of `DatabaseTable` objects +]; +``` + ## Database Tables -- 2.20.1