]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add missing doc changes 31825/head
authorJoas Schilling <coding@schilljs.com>
Mon, 4 Apr 2022 13:56:54 +0000 (15:56 +0200)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 7 Apr 2022 13:50:33 +0000 (15:50 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/DB/MigrationService.php

index fb7b6b7472fba677b47d53834bb7872122faab74..92f45dfdbe83a7b2d8380e7769127c0f0bbe9d98 100644 (file)
@@ -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