Skip to content

Commit

Permalink
Merge pull request #172 from petrus-v/patch-1
Browse files Browse the repository at this point in the history
Consistency table name example with the model name
  • Loading branch information
Nabellaleen authored Mar 18, 2019
2 parents 76a5a35 + 742bf8c commit 100785a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()

class UserModel(Base):
__tablename__ = 'department'
__tablename__ = 'user'
id = Column(Integer, primary_key=True)
name = Column(String)
last_name = Column(String)
Expand Down

0 comments on commit 100785a

Please sign in to comment.