Implement version table, update APIs when getting version info from github because the tags API was not retrieving our current git tags

This commit is contained in:
2025-03-09 21:54:23 +11:00
parent 292a296a63
commit 8fb773e2fb
6 changed files with 112 additions and 13 deletions

View File

@@ -22,6 +22,7 @@ class StatsController extends Controller
DB::raw('count(distinct site_id) as total')
])
->selectRaw($case->toRaw().' AS ver')
->join('versions','versions.id','=','site_versions.version_id')
->groupBy([DB::raw('DATE(site_versions.created_at)'),'ver'])
;