Skip to content

Commit fa9d884

Browse files
authored
Merge pull request #4659 from nextcloud/test/sync-wiki
Changed docs
2 parents f8712ae + 1769394 commit fa9d884

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

docs/API_v1.0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
- SPDX-License-Identifier: AGPL-3.0-or-later
44
-->
55

6-
# Polls API v1.0
6+
# Polls API v1.0 (final)
7+
8+
Optional additions to the endpoints or its payload may occur.
79

810
The Polls API is documented via the [OpenAPI](https://www.openapis.org/) specification.
911
The generated spec files are located in the root of this repository:

docs/Installation-help.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
- SPDX-License-Identifier: AGPL-3.0-or-later
44
-->
55
# Update Issues
6-
**This should be no issue anymore since v8.3.**
76

87
When Polls gets updated and needs changed classes while updating a situation may occur which lets the migration fail. This is because Polls relies on its own declarative database definitions. On updates a situation now can occur where changed classes, which are used while updating, get not loaded properly and the old version of these classes are still cached and loaded.
98

@@ -21,6 +20,8 @@ After that the site should be up again and Polls updated to the latest version.
2120
If Polls just did not get enabled and the update terminated with an error message, try to enable it again.
2221
After that Polls should be updated to the latest version. If Polls resumed back to disabled state again, keep polls disabled and please report that issue [here](https://github.com/nextcloud/polls/issues).
2322

23+
**This should be no issue anymore since v8.3, because Polls uses versions for schema definitions wich force the updater to use the new/changed classes.**
24+
2425
# Installation variants
2526
## Install via Git
2627
If you want to run the latest development version from git source, you need to clone the repo to your apps folder:

docs/occ.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@ Note: In any case make sure you have a backup of your database and only use thes
88
All commands require polls to be enabled and are not available after uninstall or while in maintenance mode.
99

1010
## Overview
11+
### Nextcloud core commends that affect Polls
1112
|Command|Description|
1213
|-|-|
1314
|[`db:add-missing-indices`](#create-optional-indices) | Create optional indices (NC core command) |
1415
|[`maintenance:repair`](#run-repair-steps) | Run Polls post-migration repair steps (NC core command) |
16+
17+
### Polls only related commands
18+
|Command|Description|
19+
|-|-|
1520
|[`polls:index:remove:foreign-key-constraints`](#remove-foreign-key-constraints) | Remove foreign key constraints |
1621
|[`polls:index:remove:unique-indices`](#remove-unique-indices) | Remove unique indices |
1722
|[`polls:index:remove:optional`](#remove-optional-indices) | Remove optional indices |

0 commit comments

Comments
 (0)