safesight-control/internal/storage
tian 84b8b1c65a fix: remove transactions causing SQLITE_BUSY, add coding rules
- persistTask: 去掉事务,每个 Exec 原子即可
- saveAsset(profiles): 去掉事务,profile 和 units 分步保存
- CLAUDE.md: 加两条规则——不用事务除非必要;调试只加日志不改代码
2026-05-12 16:43:44 +08:00
..
assets_repo_test.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
assets_repo.go fix: remove transactions causing SQLITE_BUSY, add coding rules 2026-05-12 16:43:44 +08:00
audit_logs_repo_test.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
audit_logs_repo.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
device_config_state_repo_test.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
device_config_state_repo.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
devices_repo_test.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
devices_repo.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
face_gallery_repo.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
migrate.go feat: persist device features to DB as source of truth 2026-05-12 13:40:37 +08:00
models_repo_test.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
models_repo.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
paths.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
resources_repo_test.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
resources_repo.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
sqlite_test.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
sqlite.go fix: remove transactions causing SQLITE_BUSY, add coding rules 2026-05-12 16:43:44 +08:00
tasks_repo_test.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
tasks_repo.go fix: remove transactions causing SQLITE_BUSY, add coding rules 2026-05-12 16:43:44 +08:00