Repository navigation
Conversation
This type is specific to MySql and not supported by doctrine and owncloud. Other software using the same DB can have tables with this type, so we need to handle this when reading the tables. See also http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/cookbook/mysql-enums.html Fixes #6915
|
🚀 Test Passed. 🚀 |
|
@bartv2 how to test ? |
|
in the owncloud database create a table with a enum type. Then start a database upgrade, incrementing the db version is enough |
Conflicts: tests/lib/dbschema.php
|
The inspection completed: 1 new issues, 2 updated code elements |
|
💣 Test Failed. 💣 |
|
@owncloud-bot retest this please |
|
🚀 Test Passed. 🚀 |
|
@bantu @icewind1991 please review. @bartv2 do you know of any app that uses enum that could be used to test ? |
|
Code makes sense 👍 |
|
no app, i just created a table with a enum field |
|
@flop25 can you give some more information about the table that fails? also can you check if the unittest also fails for you? |
This type is specific to MySql and not supported by doctrine and owncloud.
Other software using the same DB can have tables with this type, so we need
to handle this when reading the tables.
See also http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/cookbook/mysql-enums.html
Fixes #6915
@DeepDiver1975 @PVince81