Skip to content

Commit

Permalink
Merge branch 'main' into remove-VOTE-EVENTS-PATH-and-SCORE-EVENTS-PAT…
Browse files Browse the repository at this point in the history
…H-fdietze-2024-05-28
  • Loading branch information
mergify[bot] authored May 28, 2024
2 parents 003ba94 + 3497440 commit 5448fab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,5 @@ install-node-extension-from-earthly:
(cd ./GlobalBrain.jl/globalbrain-node && npm install)
npm install --ignore-scripts --save './GlobalBrain.jl/globalbrain-node'

recent-sessions:
fly ssh console -C 'other/recent-sessions.sh'
3 changes: 3 additions & 0 deletions other/recent-sessions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

sqlite3 -column $APP_DATABASE_PATH $'select username, datetime(session.createdAt/1000, \'unixepoch\') as login_time_utc from session join user on userId = user.id order by session.createdAt desc limit 10;'

0 comments on commit 5448fab

Please sign in to comment.