This app is supposed to work on Nextcloud version 21+.
You can download and install the latest release from the Nextcloud app store.
Command | Description |
---|---|
polls:db:clean-migrations |
Remove obsolete migrations, which are no more needed |
polls:db:purge |
Drop Polls' tables and remove migration and settings records |
polls:db:rebuild |
Rebuild Polls' database including indices |
polls:index:create |
Create all necessary indices and foreign key constraints |
polls:index:remove |
Remove all indices |
polls:poll:transfer-ownership <source-user> <target-user> |
Transfer poll ownership from |
polls:share:add [--user USER] [--group GROUP] [--email EMAIL] [--] <id> |
Add user/group/email with |
polls:share:remove [--user USER] [--group GROUP] [--email EMAIL] [--] <id> |
Remove user/group/email with |
If you want to run the latest development version from git source, you need to clone the repo to your apps folder:
git clone https://github.com/nextcloud/polls.git
make setup-dev
ormake setup-build
npm run build
make appstore
(Find the output in the build directory)occ app:enable polls
to enable PollsNextcloud executes
migration classes
(not listed in the *_migrations
table) and the install
repair step.Nextcloud executes
pre-migration
repair steps, migration classes
(not listed in the *_migrations
table) and the post-migration
repair stepsNextcloud executes
pre-migration
repair steps, migration classes
(not listed in the *_migrations
table) and thepost-migration
repair steps and the install
repair step❗ As a compromise at the moment we allow the index creation to be ran twice when enabling the app via app store or occ
, to ensure all indexes are created properly for every install/update/enabling path.
Call occ polls:db:purge
to remove Polls completely.
This does not remove Polls' files (call occ app:remove polls
to remove it complete afterwards) but it resets Polls into an 'uninstalled' state. Enabling the app is then equivalent to a first time install and calls the migration and the install repair step (see above).
Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.
For more information please review the guidelines for contributing to this repository.