-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Use string for storing a OCM remote id #24247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
eae4899 to
33694e5
Compare
497f888 to
061b048
Compare
ChristophWurst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
| $remoteIdColumn = $table->getColumn('remote_id'); | ||
| if ($remoteIdColumn && $remoteIdColumn->getType()->getName() !== Types::STRING) { | ||
| $remoteIdColumn->setNotnull(false); | ||
| $remoteIdColumn->setType(Type::getType(Types::STRING)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if our "friend" likes this too much. But the test seems to say yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some "friends" actually did a similar migration, this came up as a part of #23044
apps/federatedfilesharing/lib/Migration/Version1011Date20201120125158.php
Outdated
Show resolved
Hide resolved
Signed-off-by: Julius Härtl <[email protected]>
… share_external Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
…registered yet Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
061b048 to
b732604
Compare
|
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 306: failuresqliteShow full logmariadb10.4-php7.4Show full logmysql8.0-php7.4Show full logpostgres11-php7.4Show full log |
|
Failures unrelated, erroring on master as well. |
|
/backport to stable20 |
This is required to make sure we are compatible with Federated Sharing OCM as proposed in cs3org/OCM-API#37 providerId is a string.
While #9345 added general support for this our backend does only allow integers to be stored as a providerId, since we still have integer values in our database