Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
ReyDev Posted January 10, 2021 Posted January 10, 2021 I've developed an app and for the new version, I created a version (for example 1.1.0) and the corresponding query (creating a new table). When I try to upload a new version, everything goes well, but the query (create table) does not run.
Solution bfarber Posted January 11, 2021 Solution Posted January 11, 2021 The upgrade processes are not ran when installing an application, only when upgrading it. You need to create an install folder and add all the queries necessary for a new installation there. Look at one of our first party apps for an example (Blog, Downloads, etc.). You'll find applications/blog/setup/install/* which has everything needed for a new installation, and then any changes since the first version are individually tracked in the applications/blog/setup/upg_XXXXX/* version folders. ReyDev 1
Recommended Posts