-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update OpenSRP Mybatis Migration Tasks #88
Comments
jasonrogena
added a commit
that referenced
this issue
Aug 29, 2019
Rename the OpenSRP development properties template to opensrp_mybatis_env, which is in line with #88 Related to #88 Signed-off-by: Jason Rogena <[email protected]>
jasonrogena
added a commit
that referenced
this issue
Aug 29, 2019
Run the Mybatis migrations as the OpenSRP database user once the user has been given all privileges to the database. This therefore means that the user doesn't need to be granted access to the schemas (since they're the ones creating the schemas in the first place). Also add variables for specifying the OpenSRP tablespace names (instead of directories). Change was introduced in OpenSRP Server version v1.2.18-SNAPSHOT. - https://github.com/OpenSRP/opensrp-server-web/releases/tag/v1.2.18-SNAPSHOT Related to #88 Signed-off-by: Jason Rogena <[email protected]>
jasonrogena
added a commit
that referenced
this issue
Aug 29, 2019
Rename the OpenSRP development properties template to opensrp_mybatis_env, which is in line with #88 Related to #88 Signed-off-by: Jason Rogena <[email protected]>
jasonrogena
added a commit
that referenced
this issue
Aug 29, 2019
Run the Mybatis migrations as the OpenSRP database user once the user has been given all privileges to the database. This therefore means that the user doesn't need to be granted access to the schemas (since they're the ones creating the schemas in the first place). Also add variables for specifying the OpenSRP tablespace names (instead of directories). Change was introduced in OpenSRP Server version v1.2.18-SNAPSHOT. - https://github.com/OpenSRP/opensrp-server-web/releases/tag/v1.2.18-SNAPSHOT Related to #88 Signed-off-by: Jason Rogena <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update how the Mybatis migration tasks in the OpenSRP role are executed:
opensrp_mybatis_env.properties.j2
opensrp_postgresql_user_role_attr_flags
variable in the OpenSRP role toLOGIN
.*_tablespace_location
variables. Replace them with*_tablespace
variables (a variable for each tablespace). Default all of these (the tablespace name) variables topg_default
in the role's default file.postgresql_tablespaces_dirs
from the role), default the variable to a blank list so that tablespaces aren't created by default:Related to opensrp/opensrp-server-configs#19
The text was updated successfully, but these errors were encountered: