moved migrations
All checks were successful
Tests / Run Go Tests (push) Successful in 2m7s
Arbeitszeitmessung Deploy / Build Webserver (push) Successful in 2m45s

This commit is contained in:
2026-01-18 22:50:51 +01:00
parent c10ab98997
commit fdda0ea669
20 changed files with 2 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
ALTER TABLE wochen_report
ALTER COLUMN ueberstunden TYPE float4
USING
extract(epoch from ueberstunden) / 3600.0,
ALTER COLUMN arbeitszeit TYPE float4
USING
extract(epoch from arbeitszeit) / 3600.0;