Skip to content

Change mail_accounts.provisioned column to allow null#4903

Merged
miaulalala merged 1 commit intomasterfrom
fix/oracle-constraints
Apr 7, 2021
Merged

Change mail_accounts.provisioned column to allow null#4903
miaulalala merged 1 commit intomasterfrom
fix/oracle-constraints

Conversation

@miaulalala
Copy link
Contributor

Fixes #4897

@miaulalala miaulalala self-assigned this Apr 7, 2021
@miaulalala miaulalala force-pushed the fix/oracle-constraints branch from d1b7d59 to 53bf631 Compare April 7, 2021 11:05
@miaulalala miaulalala requested review from StCyr, kesselb and st3iny April 7, 2021 12:23
@miaulalala miaulalala force-pushed the fix/oracle-constraints branch 2 times, most recently from a977358 to b8bdef1 Compare April 7, 2021 14:16
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala force-pushed the fix/oracle-constraints branch from 9cf771d to 0c27b77 Compare April 7, 2021 14:32
@miaulalala miaulalala merged commit b550749 into master Apr 7, 2021
@miaulalala miaulalala deleted the fix/oracle-constraints branch April 7, 2021 14:37
$this->addType('outboundPort', 'integer');
$this->addType('lastMailboxSync', 'integer');
$this->addType('provisioned', 'bool');
$this->addType('provisioned', 'boolean');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi bool and boolean should work: https://www.php.net/manual/en/function.settype.php

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we discussed this and concluded some consistency would be nice :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fine by me but weird to use boolean because for method signatures we need bool ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Column "oc_mail_accounts"."provisioned" is type Bool and also NotNull, so it can not store "false".

3 participants