Skip to content
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

Cleanup Unnecessary Tables from DB scrips #21558

Open
omindu opened this issue Oct 31, 2024 · 3 comments
Open

Cleanup Unnecessary Tables from DB scrips #21558

omindu opened this issue Oct 31, 2024 · 3 comments

Comments

@omindu
Copy link
Member

omindu commented Oct 31, 2024

Is your suggestion related to an experience ? Please describe.

There can be tables in our DB scripts coming from removed features, features that were moved out as a connector. Need to cleanup these from the scripts.

Before removing these features are actually removed from the product, or the connector documentation has proper instructions to create tables

Few possible tables:

IDN_REMOTE_FETCH_CONFIG
IDN_OPENID_ASSOCIATIONS
IDN_OPENID_USER_RPS
IDN_OPENID_REMEMBER_ME
IDN_THRIFT_SESSION

Describe the improvement

Additional context

@AnuradhaSK
Copy link
Contributor

Tables related to legacy B2B connector which are not in use after IS-7.0.0 OOTB B2B Solution.

  • UM_ORG_PERMISSION
  • UM_ORG_ROLE
  • UM_ORG_ROLE_GROUP
  • UM_ORG_ROLE_PERMISSION
  • UM_ORG_ROLE_USER

@sadilchamishka
Copy link
Contributor

The customers who onboarded directly to IS 7.0 will have those mentioned tables, and we can update the schemas[1] to delete these tables.

[1] - https://github.com/wso2-enterprise/identity-migration-resources/blob/master/components/org.wso2.is.migration/migration-resources/7.1.0/dbscripts/step1/identity/mysql.sql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment