The managedSql section from SGCluster allows you to create / modify / remove database objects live from a valid SQL scripts.

To achieve this you have the next options: