Hello everyone
I would like to up/install the database table when my application is installed / enabled.
How I do it ?
Thanks in advance
Hello everyone
I would like to up/install the database table when my application is installed / enabled.
How I do it ?
Thanks in advance
Thanks @Cult
Hmmmβ¦ I donβt understand your message
I have already created a migration file
I am searching how to trigger this file when I install my application
update the version in appinfo/info.xml and the update screen will trigger automatically
Yes @nickvergessen have the solution, I thought you wanted to update an already existing database ;p.
Thanks I am testing that !!!
I created my first migration with the version 0000 and in my info.xml it writes β0.0.10β.
Can I upgrade to β0.8.0β in info.xml file and generate a migration file with the version 0080 ?
Ah no ! ^^
Iβm sorry, I misspoke ^^β
On the dev environment. I uninstall my application, I cloned the project then I install it again with the occ command : occ app:install my_application
and I donβt see my new database table
Edit 08/07/2021 : My application is insalled on another server and the table was well created. I donβt understand why ?!