I moved my app development system from one maching running NC19 to a new one with NC25. Now I find myself trying to persuade NC to implement some DB changes.
There are two migration files, let’s call them
500. The first one (
300) must have got executed at some point because I can see the table in the DB. The second one (
500) did not for the intended table extensions were not carried out.
I made some editings to both files, including a change of the table name I use (table names starting with numbers seem not to be legit anymore). I updated
info.xml and disabled and re-enabled the app but schema update was not triggered.
On the former system I enjoyed having more control over the DB update mechanism by using
occ migrations:execute but on the current system
occ throws this error message:
There are no commands defined in the "migrations" namespace.
I checked with
sudo -u www occ list and must confirm complete absence of migration commands.
So, did the way for controlling DB migrations change and I could find it in the docs? Or is something missing in the installation so I cannot handle
I see that there were other namespace-related problems which really had to do with arguments and objects. It seems to me the absence of the command subsystem is a problem in itself.
Any hint appreciated