Skip to content

Commit

Permalink
Merge pull request #127 from Michele-Alberti/development
Browse files Browse the repository at this point in the history
🐞 Fix error in stats table default for date
  • Loading branch information
Michele-Alberti authored Mar 1, 2024
2 parents f2c68ea + c97eab0 commit 6c63223
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions dlunch/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,7 @@ class Stats(Data):
date = Column(
Date,
nullable=False,
default=datetime.utcnow(),
server_default=func.current_timestamp(),
server_default=func.current_date(),
)
guest = Column(
String(20),
Expand Down
3 changes: 2 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ docker-run: check-version
-e DATA_LUNCH_OAUTH_ENC_KEY=${DATA_LUNCH_OAUTH_ENC_KEY} \
-e DATA_LUNCH_OAUTH_KEY=${DATA_LUNCH_OAUTH_KEY} \
-e DATA_LUNCH_OAUTH_SECRET=${DATA_LUNCH_OAUTH_SECRET} \
-e DATA_LUNCH_OAUTH_SECRET=${DATA_LUNCH_OAUTH_REDIRECT_URI} \
-e DATA_LUNCH_OAUTH_REDIRECT_URI=${DATA_LUNCH_OAUTH_REDIRECT_URI} \
-e DATA_LUNCH_DB_PASSWORD=${DATA_LUNCH_DB_PASSWORD} \
${IMAGEFULLNAME} ${PANEL_ARGS}
@echo -e "${GREEN}done${NC}"

Expand Down

0 comments on commit 6c63223

Please sign in to comment.