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

Error al eliminar Banco asociado a Proveedor #18

Open
leobz opened this issue Jan 2, 2024 · 1 comment
Open

Error al eliminar Banco asociado a Proveedor #18

leobz opened this issue Jan 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@leobz
Copy link
Owner

leobz commented Jan 2, 2024

Dado que se establecio una constraint de FK que relaciona un bank_id con un Proveedor, al intentar eliminar un Banco que esté siendo referenciado por un Proveedor se produce un FOREIGN KEY constraint failed.

@leobz leobz added the bug Something isn't working label Jan 2, 2024
@leobz leobz self-assigned this Jan 2, 2024
@leobz
Copy link
Owner Author

leobz commented Jan 3, 2024

Nota adicional: Agregar asociaciones belong_to/has_one segun corresponda, para simplificar el manejo del modelo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant