mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Merge pull request #31825 from nextcloud/bugfix/noid/add-missing-docs
Add missing doc changes and limit string length 4000 to new columns
This commit is contained in:
commit
7ff60b8249
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue