Jump to content

Query does not run in the upgrade version of the app


Go to solution Solved by bfarber,

Recommended Posts

Posted

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
Posted

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...