Hi Jonathan and thanks for the reply. I tried your suggestion, but without success..
In Flask-SQLAlchemy there are default table names, and in this case they would be just 'User', 'A' and 'B', which are already unique. On Wednesday, November 25, 2015 at 10:58:10 PM UTC+2, Jonathan Vanasco wrote: > > Give each class a `__tablename__` class variable that uniquely names the > table for the class. > > class A(User) > __tablename__ = 'user_a' > id = ... > > class B(User) > __tablename__ = 'user_b' > id = ... > > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.