Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 10, 20214 yr 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.
January 11, 20214 yr Solution 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.