Claude change
This commit is contained in:
1 parent
1c176ea621
commit
4fc5acfebb
1 file changed
+6
-4
@@ -1,4 +1,6 @@
|
|||||||
# AGENTS.md
|
# CLAUDE.md
|
||||||
|
|
||||||
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
@@ -27,7 +29,6 @@ user-facing text.
|
|||||||
├── docker-compose.yml # at repo ROOT; build context ., dockerfile Docker/Dockerfile
|
├── docker-compose.yml # at repo ROOT; build context ., dockerfile Docker/Dockerfile
|
||||||
├── Docker/Dockerfile # node:22-alpine (nötig für node:sqlite)
|
├── Docker/Dockerfile # node:22-alpine (nötig für node:sqlite)
|
||||||
├── .dockerignore
|
├── .dockerignore
|
||||||
├── .vscode/extensions.json
|
|
||||||
├── public/
|
├── public/
|
||||||
│ ├── Test.html # main app (served at /)
|
│ ├── Test.html # main app (served at /)
|
||||||
│ ├── js/ # shared modules (classic scripts, global fns)
|
│ ├── js/ # shared modules (classic scripts, global fns)
|
||||||
@@ -144,8 +145,9 @@ docker compose up --build # Docker variant (compose file is at repo root)
|
|||||||
## Persistence (SQLite)
|
## Persistence (SQLite)
|
||||||
|
|
||||||
- Data lives in `sessions/projektuebersicht.db` (`node:sqlite` `DatabaseSync`,
|
- Data lives in `sessions/projektuebersicht.db` (`node:sqlite` `DatabaseSync`,
|
||||||
WAL mode, `PRAGMA foreign_keys = ON`), created automatically. The schema is
|
WAL mode, `PRAGMA foreign_keys = ON`, `PRAGMA busy_timeout = 5000` to avoid
|
||||||
**fully relational** (18 tables) instead of one big JSON document per week:
|
`SQLITE_BUSY` under concurrent writers), created automatically. The schema is
|
||||||
|
**fully relational** (19 tables) instead of one big JSON document per week:
|
||||||
- `weeks` (department, label, week_id, date, locked, updated_at; PK
|
- `weeks` (department, label, week_id, date, locked, updated_at; PK
|
||||||
`(department,label)`) — `updated_at` is the revision timestamp for the
|
`(department,label)`) — `updated_at` is the revision timestamp for the
|
||||||
single-user conflict handling (see `/save-week` above)
|
single-user conflict handling (see `/save-week` above)
|
||||||
Reference in new issue
Block a user