feat: add README and change default working hours to 60

This commit is contained in:
Patryk Hegenberg 2025-11-08 14:24:30 +01:00
parent e931b97037
commit b3d4eec456
3 changed files with 775 additions and 2 deletions

View file

@ -35,7 +35,7 @@ func createTables(db *sql.DB) {
username TEXT UNIQUE NOT NULL,
password TEXT NOT NULL,
is_admin BOOLEAN NOT NULL DEFAULT 0,
yearly_hours REAL NOT NULL DEFAULT 1800.0, -- 40 Stunden/Woche * 45 Schulwochen
yearly_hours REAL NOT NULL DEFAULT 60.0,
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
)`,
`CREATE TABLE IF NOT EXISTS schedules (