diff options
author | Joas Schilling <coding@schilljs.com> | 2022-04-04 16:56:54 +0300 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-04-07 16:50:33 +0300 |
commit | 10b2319aa01d5a5689a791932162184b3133ac5e (patch) | |
tree | 55e370990c796c2c2e9a7ab9682bac81d4011acb /lib | |
parent | fb7f65a687ba426188148b3ebbf295ee307c7bc4 (diff) |
Add missing doc changes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/DB/MigrationService.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/DB/MigrationService.php b/lib/private/DB/MigrationService.php index fb7b6b7472f..92f45dfdbe8 100644 --- a/lib/private/DB/MigrationService.php +++ b/lib/private/DB/MigrationService.php @@ -559,9 +559,13 @@ class MigrationService { * - Primary key names must be set or the table name 23 chars or shorter * * Data constraints: + * - Tables need a primary key (Not specific to Oracle, but required for performant clustering support) * - Columns with "NotNull" can not have empty string as default value * - Columns with "NotNull" can not have number 0 as default value * - Columns with type "bool" (which is in fact integer of length 1) can not be "NotNull" as it can not store 0/false + * - Columns with type "string" can not be longer than 4.000 characters, use "text" instead + * + * @see https://github.com/nextcloud/documentation/blob/master/developer_manual/basics/storage/database.rst * * @param Schema $sourceSchema * @param Schema $targetSchema |