From: XeroX Date: Tue, 21 Mar 2023 18:01:56 +0000 (+0100) Subject: Update DefaultTrueBooleanDatabaseTableColumn description X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ce0f12873eec6b02f88e09a5fcc276fe863e5796;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Update DefaultTrueBooleanDatabaseTableColumn description Resolves #366 --- diff --git a/docs/package/database-php-api.md b/docs/package/database-php-api.md index 33a71e9f..54e9fc30 100644 --- a/docs/package/database-php-api.md +++ b/docs/package/database-php-api.md @@ -82,7 +82,7 @@ Depending on the specific column class implementing additional interfaces, the f Additionally, there are some additionally classes of commonly used columns with specific properties: - `DefaultFalseBooleanDatabaseTableColumn` (a `tinyint` column with length `1`, default value `0` and whose values cannot be `null`) -- `DefaultTrueBooleanDatabaseTableColumn` (a `tinyint` column with length `0`, default value `0` and whose values cannot be `null`) +- `DefaultTrueBooleanDatabaseTableColumn` (a `tinyint` column with length `1`, default value `1` and whose values cannot be `null`) - `NotNullInt10DatabaseTableColumn` (a `int` column with length `10` and whose values cannot be `null`) - `NotNullVarchar191DatabaseTableColumn` (a `varchar` column with length `191` and whose values cannot be `null`) - `NotNullVarchar255DatabaseTableColumn` (a `varchar` column with length `255` and whose values cannot be `null`)