feat: add README and change default working hours to 60
This commit is contained in:
parent
e931b97037
commit
b3d4eec456
3 changed files with 775 additions and 2 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue