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

Dealing with STI db #120

Open
peco8 opened this issue Feb 12, 2017 · 1 comment
Open

Dealing with STI db #120

peco8 opened this issue Feb 12, 2017 · 1 comment

Comments

@peco8
Copy link

peco8 commented Feb 12, 2017

First off, thanks for the nice library.
This library doesn't seem to deal with STI relationship.

Let's say if we have,

  • user
  • author
  • publisher

And this should only create author, and publisher table.
However user table is also generated automatically.

I could delete user table and it's fine. But it could be nice if it can handle it automatically.

@kofronpi
Copy link
Collaborator

kofronpi commented May 4, 2017

Hello @peco8, can you give more code ? At least your AR records and/or schema.rb relevant parts. Thanks !

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

No branches or pull requests

2 participants