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

Open
#182 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
mysql
Domain
databases

Research direction

Compare the default database schema with the attached oidc_patched_ndb-sql.txt, focusing on the ON DELETE CASCADE relationships and TEXT/BLOB columns. Confirm that the revised schema can be used with an ndbcluster database while preserving the existing schema behavior.

Written by the indexing model from the issue text.

Description

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

Dominant language
PHP
Stars
51
Forks
27
Avg merge
12m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from simplesamlphp/simplesamlphp-module-oidc

All issues in simplesamlphp/simplesamlphp-module-oidc

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.