Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Apr 3, 2024
1 parent e96df7e commit e634b23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ class TRoles(GenericRepository):
pass_plus = db.Column(db.Unicode)
champs_addi = db.Column(JSONB)
date_insert = db.Column(db.DateTime, default=db.func.now(), nullable=False)
date_update = db.Column(db.DateTime, default=db.func.now(), nullable=False, onupdate=db.func.now())
date_update = db.Column(
db.DateTime, default=db.func.now(), nullable=False, onupdate=db.func.now()
)

# Add synonym for column pass
# Hack because pass is an python reserved word
Expand Down

0 comments on commit e634b23

Please sign in to comment.