Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

How to execute SQL statements during deployment

INLINE

The article is about how There may be times where you will want to execute some cleanup or initialization SQL statements during the deployment time of, for example, a datasourcedata source.

...

The following are the dependencies used in this example:

...

  1. Name of a Datasource to execute on
  2. Path to the .sql file
  3. A test sql query that will act as a boolean. If the query returns zero number of records, the sql statements will be executed (e.g. you may want to create some tables)

...

...