Add Oracle-specific workaround for changing a column type#308
Conversation
There was a problem hiding this comment.
\OC::$server->getDatabaseConnection()
There was a problem hiding this comment.
@nickvergessen it should reach stable7 ;)
There was a problem hiding this comment.
Well then change it in the patch that is for stable7, but on master we are not going start using private and deprecated APIs
|
Am I right, that this would need backporting all the way to stable7? |
|
@nickvergessen I think so |
There was a problem hiding this comment.
\OC::$server->getLogger()->warn()
There was a problem hiding this comment.
\OCP\Util::writeLog is not deprecated in master
we have to as we need to fix migration on oracle for oc6 -> oc7 |
|
Okay, I will try to take this over from here on then |
Anyway, feel free to continue @VicDeo |
There was a problem hiding this comment.
should be a comparison "if lower than", not equals... Otherwise 1.1.1 will not run this update, but it should
|
Actually we don't need this file in stable8 and master? |
c9e4d3d to
cce827a
Compare
|
@nickvergessen updated in accordance with your comments |
Right. |
ouch - so true ... do we want to support such a scenario? |
|
Well okay, the let's say the activity app does not support a major version jump: |
well - the main problem here is that app upgrade are not triggered if they are not active - which is okay. Until we find a better mechanism to handle migrations more seemless (pssst owncloud/core#14851 🙊 ) we might simply add the migration to every release branch - even if they are never executed? |
|
So we also have to bring back the update.php which was dropped because of the normally unsupported update-way? I mean if someone encounters the problem, we can still say, hey please upload the files of 1.2.x (oC 8.0) first then update to that version and then update to 2.0 (oC 8.1)? |
valid point as well .... |
|
I never argue for a long time (and don't use Oracle anyway). |
|
Yeah, lets just fix this in 6>7 then |
Ref owncloud/core#16812
"6.0.4 to 7.0.5 upgrade with Oracle as backend database"