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 auth table independent of other tables. No update or delete cascade #34

Open
joweste opened this issue Sep 25, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@joweste
Copy link

joweste commented Sep 25, 2023

Is your feature request related to a problem? Please describe.
When auth table id is deleted you are cascading delete to other tables (chats.....)

Describe the solution you'd like
A auth id can be invalid and can be deleted. But the chats, messages.... can continue being valid and not should be deleted. They depends only session_id(key), not from auth id

Describe alternatives you've considered
Make other tables independents from auth table and dependents only of 'session id'(key)

Additional context

I also need to fix some problems with models columns and unique keys to make work in postgres

@joweste joweste added the enhancement New feature or request label Sep 25, 2023
@joweste joweste changed the title Make auth table independent from other tables. No update or delete cascade Make auth table independent of other tables. No update or delete cascade Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants