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

Polymorphic foreign keys #23

Open
Anahkiasen opened this issue Mar 5, 2014 · 0 comments
Open

Polymorphic foreign keys #23

Anahkiasen opened this issue Mar 5, 2014 · 0 comments

Comments

@Anahkiasen
Copy link

Is it possible to show polymorphic foreign keys of that type, as done by Rails (Ruby) or Laravel (PHP) ?

column type
illustrable_type string
illustrable_id integer

I'm assuming this is not possible because SQL doesn't have any structure for it but as DBPatterns is more of a "representation" tool to me it'd seem logical to be allow to "show" that, maybe by specifying a list of entities in the foreign key field, like Book,Author or something.

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

No branches or pull requests

1 participant