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 ?! 