system.kanoa.config.updateVersionInfo(versionInfo, userId)
Updates version info. If the record always exists, it will update it.
Parameters
versionInfo Dictionary
| - element | String | Specific to type, for database, this could be the schema. Can be None |
| - name: | String | Name of the database, project or tag |
| - type | String | i.e. 'database', 'project', 'tag' |
| - versionNumber | String | Version number |
userId Integer: Id of user executing the function
Returns
appVersionId Integer
Example
appVersionId = system.kanoa.config.updateVersionInfo(versionInfo, userId)