Skip to content

Commit

Permalink
fix table name
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored Nov 30, 2023
1 parent acc8fde commit 51f70c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/v1/models/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class User(Base):
__tablename__ = 'users'
__tablename__ = 'user'
__table_args__ = {'schema': 'py_api'}
id = Column(Integer, server_default=text("nextval('py_api.user_id_seq'::regclass)"), primary_key=True)
name = Column(String(50), nullable=False)
Expand Down

0 comments on commit 51f70c9

Please sign in to comment.