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

Use external primary keys for Rangers #329

Open
wsanchez opened this issue Nov 12, 2019 · 0 comments
Open

Use external primary keys for Rangers #329

wsanchez opened this issue Nov 12, 2019 · 0 comments
Labels
Milestone

Comments

@wsanchez
Copy link
Member

Right now, we reference Rangers by handle in IMS. If you change you handle in the Clubhouse, IMS will lose these references, so we should remember both.

I think we need to keep using handles in the JSON API, and that should be fine, but the database should add a RANGER table which indexes the handles by the external primary key.

In the current MySQL database, that primary key is an int. But in a text file, the primary key might be the handle, or a GUID. So I think we should store the key as text and convert in the client.

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

No branches or pull requests

1 participant