Skip to content

NC 21 unique column option is not supported #25607

Description

@sualko

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Try to enable app (bbb) which is working in NC 20
  2. You get an error

Expected behaviour

No error 😄

Actual behaviour

Error message in internal app store: The "unique" column option is not supported.

I found no notice about this in #23210, so what is the proper way of defining an unique column?

Server configuration

Operating system: Ubuntu 20.04

Web server: php -S

Database: sqlite

PHP version: 7.4

Nextcloud version: 21

Updated from an older Nextcloud/ownCloud or fresh install: fresh

Where did you install Nextcloud from: Git

Nextcloud log (data/nextcloud.log)

Nextcloud log
{"Exception":"Doctrine\\DBAL\\Schema\\Exception\\UnknownColumnOption","Message":"The \"unique\" column option is not supported.","Code":0,"Trace":[{"file":"\/opt\/nextcloud\/21\/3rdparty\/doctrine\/dbal\/src\/Schema\/Column.php","line":84,"function":"new","class":"Doctrine\\DBAL\\Schema\\Exception\\UnknownColumnOption","type":"::"},{"file":"\/opt\/nextcloud\/21\/3rdparty\/doctrine\/dbal\/src\/Schema\/Column.php","line":68,"function":"setOptions","class":"Doctrine\\DBAL\\Schema\\Column","type":"->"},{"file":"\/opt\/nextcloud\/21\/3rdparty\/doctrine\/dbal\/src\/Schema\/Table.php","line":355,"function":"__construct","class":"Doctrine\\DBAL\\Schema\\Column","type":"->"},{"file":"\/home\/klaus\/Repos\/cloud_bbb\/lib\/Migration\/Version000000Date20200416124731.php","line":31,"function":"addColumn","class":"Doctrine\\DBAL\\Schema\\Table","type":"->"},{"file":"\/opt\/nextcloud\/21\/lib\/private\/DB\/MigrationService.php","line":455,"function":"changeSchema","class":"OCA\\BigBlueButton\\Migration\\Version000000Date20200416124731","type":"->"},{"file":"\/opt\/nextcloud\/21\/lib\/private\/DB\/MigrationService.php","line":418,"function":"migrateSchemaOnly","class":"OC\\DB\\MigrationService","type":"->"},{"file":"\/opt\/nextcloud\/21\/lib\/private\/Installer.php","line":163,"function":"migrate","class":"OC\\DB\\MigrationService","type":"->"},{"file":"\/opt\/nextcloud\/21\/apps\/settings\/lib\/Controller\/AppSettingsController.php","line":448,"function":"installApp","class":"OC\\Installer","type":"->"},{"file":"\/opt\/nextcloud\/21\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":218,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->"},{"file":"\/opt\/nextcloud\/21\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":127,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"\/opt\/nextcloud\/21\/lib\/private\/AppFramework\/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"\/opt\/nextcloud\/21\/lib\/private\/Route\/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"\/opt\/nextcloud\/21\/lib\/base.php","line":993,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"\/opt\/nextcloud\/21\/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"\/opt\/nextcloud\/21\/3rdparty\/doctrine\/dbal\/src\/Schema\/Exception\/UnknownColumnOption.php","Line":18,"CustomMessage":"--"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions