Skip to content

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

Open

Description

@tommy2d

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

Activity

  1. pradtke commented on May 20, 2022

    @pradtke
    Collaborator

    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?

  2. tommy2d commented on May 31, 2022

    @tommy2d
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions