Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To normalize naming and make it more obvious which tables are related.
These are all user/role related so renaming for consistency:
oskari_jaas_users
->oskari_users_credentials
oskari_role_oskari_user
->oskari_users_roles
oskari_role_external_mapping
->oskari_roles_external_mapping
since these are related to oskari_roles tableThese are all related to statistical data and renamed for consistency:
oskari_user_indicator
->oskari_statistical_indicator
oskari_user_indicator_data
->oskari_statistical_indicator_data
oskari_statistical_layer
->oskari_statistical_datasource_regionsets
Added a prefix so oskari related database tables are easier to recognize:
ratings
->oskari_ratings
Same as with statistical/user tables the link between resource and permissions is now more clear with the naming change:
oskari_permission
->oskari_resource_permission
to indicate permissions are always linked to resources. Note! Also renamed oskari_resource_id column to resource_id