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

Make the database scheme friendly for ndb (instead of innoDB only) #182

Open
tommy2d opened this issue May 19, 2022 · 2 comments
Open

Make the database scheme friendly for ndb (instead of innoDB only) #182

tommy2d opened this issue May 19, 2022 · 2 comments

Comments

@tommy2d
Copy link

tommy2d commented May 19, 2022

Because of the combination of ON DELETE CASCADE and TEXT and BLOB fields in the default schema, simplesaml-module-oidc cannot be used on ndbcluster. This is easily fixed be converting some of the TEXT fields to varchar like i did in the attached schema.

oidc_patched_ndb-sql.txt

@pradtke
Copy link
Collaborator

pradtke commented May 20, 2022

Thanks @tommy2d For the user table did you also need to change type of claims ? I see you have mediumtext in your schema. Was text not supported?

@tommy2d
Copy link
Author

tommy2d commented May 31, 2022

I did not need to update claims, probably because it was not directly hit by the ON DELETE CASCADE. TEXT was too small so I used MEDIUMTEXT. This has to do with the profile picture that was there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants