Skip to content
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.

Petition support polymorph table #114

Open
obelich opened this issue May 2, 2021 · 2 comments
Open

Petition support polymorph table #114

obelich opened this issue May 2, 2021 · 2 comments

Comments

@obelich
Copy link

obelich commented May 2, 2021

Hi I love this tool :) and i have a issue I want to use one polimorph table this use only for example addreseable_id for people or buildings or any other table thanks, sorry me english is bad :P

Me gustaria que se pudiera usar tablas polimorficas o que una tabla pueda usar un mismo campo para multiples tablas por ejemplo tengo una tabla que se llama direcciones y que esta tabla por ejemplo la usa personas y tambien la usa edificios o empresas tengo dos columnas addreseable_id y addreseable_type donde addreseable_id es donde se guarda el ID de la tabla relacionada bueno gracias.

@dineug
Copy link
Owner

dineug commented May 8, 2021

Do you mean the following structure?

nosql

@obelich
Copy link
Author

obelich commented May 8, 2021

is more like this
polymorphic

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

No branches or pull requests

2 participants