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

Change PK on EG, EI db tables to include parent ids #145

Open
alasdairwilson opened this issue Jan 24, 2024 · 0 comments
Open

Change PK on EG, EI db tables to include parent ids #145

alasdairwilson opened this issue Jan 24, 2024 · 0 comments
Labels
enhancement New feature or request low priority

Comments

@alasdairwilson
Copy link
Collaborator

alasdairwilson commented Jan 24, 2024

so at the moment each EG and EI has a unqiue id, i.e. they cant be repeated across events.

It may be preferable top use primary keys that are combination of event.id and evengroup.id for eventgroups and event.id, eventgroup.id and eventitem.id for items. as mentioned in #144

This is a non trivial change though and doesnt aid functionalityt but will stop future urls being /436/6742 and instead be /436/1

@alasdairwilson alasdairwilson added enhancement New feature or request low priority labels Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority
Projects
None yet
Development

No branches or pull requests

1 participant