metatroncubeswdev ce75d45141
Some checks failed
CI / ci (push) Has been cancelled
CI / docker-build (push) Has been cancelled
Publish Docker image / docker (push) Has been cancelled
Upload sourcemaps / upload (push) Has been cancelled
Phase 4: activity log — who did what in the workspace
- activity_log table (sqlite + pg, structurally identical; schema-parity
  covers it). Plain-text columns, no FKs — an append-only trail that must
  outlive the projects/users it references, so target_label snapshots a
  human-readable name at write time.
- ActivityRepository: record() (fire-and-forget, never breaks the caller) +
  list() (org-scoped, actor/action filters, keyset pagination) + listActors().
- Recording wired into the mutations worth tracking: project
  create/archive/restore/domain, audit start, team user create/remove/
  password-reset, invitation sent.
- getActivityLog / getActivityActors server functions (owner/admin gated) +
  Settings → Activity tab (ActivityLogView: filter by user & action, load
  more).
- Migration: drizzle/0045_*, drizzle-pg/0023_*. The pipeline does not run
  migrations — see docs/SELF_HOSTING_TEAM_MODE.md step 5 for the one-time
  `drizzle-kit migrate` on the server. Writes fail silently until the table
  exists.

tsc / oxlint / knip clean. New ActivityRepository.test.ts (4) + schema-parity
picks up the new table; suite otherwise unchanged (pre-existing samSkills
CRLF failure only).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-09 16:00:09 -04:00

174 lines
3.5 KiB
JSON

{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1780611624042,
"tag": "0000_fixed_nico_minoru",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1781809009342,
"tag": "0001_striped_bulldozer",
"breakpoints": true
},
{
"idx": 2,
"version": "7",
"when": 1781902417326,
"tag": "0002_clean_moira_mactaggert",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1782833725049,
"tag": "0003_sturdy_may_parker",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1782851683039,
"tag": "0004_dashing_betty_ross",
"breakpoints": true
},
{
"idx": 5,
"version": "7",
"when": 1783117905771,
"tag": "0005_talented_wild_pack",
"breakpoints": true
},
{
"idx": 6,
"version": "7",
"when": 1783438455708,
"tag": "0006_location_name",
"breakpoints": true
},
{
"idx": 7,
"version": "7",
"when": 1783306049167,
"tag": "0007_same_marvel_zombies",
"breakpoints": true
},
{
"idx": 8,
"version": "7",
"when": 1783630716543,
"tag": "0008_yummy_annihilus",
"breakpoints": true
},
{
"idx": 9,
"version": "7",
"when": 1783699015488,
"tag": "0009_supreme_captain_stacy",
"breakpoints": true
},
{
"idx": 10,
"version": "7",
"when": 1784070000325,
"tag": "0010_overrated_amazoness",
"breakpoints": true
},
{
"idx": 11,
"version": "7",
"when": 1784410131656,
"tag": "0011_friendly_morlun",
"breakpoints": true
},
{
"idx": 12,
"version": "7",
"when": 1784423181488,
"tag": "0012_dashboard",
"breakpoints": true
},
{
"idx": 13,
"version": "7",
"when": 1784426969390,
"tag": "0013_sleepy_black_tarantula",
"breakpoints": true
},
{
"idx": 14,
"version": "7",
"when": 1784588248793,
"tag": "0014_solid_centennial",
"breakpoints": true
},
{
"idx": 15,
"version": "7",
"when": 1784610564142,
"tag": "0015_sticky_dagger",
"breakpoints": true
},
{
"idx": 16,
"version": "7",
"when": 1785608388841,
"tag": "0016_panoramic_blob",
"breakpoints": true
},
{
"idx": 17,
"version": "7",
"when": 1786066279773,
"tag": "0017_ga4_connections",
"breakpoints": true
},
{
"idx": 18,
"version": "7",
"when": 1786208325786,
"tag": "0018_drop_reddit_attributions",
"breakpoints": true
},
{
"idx": 19,
"version": "7",
"when": 1786209409297,
"tag": "0019_clammy_selene",
"breakpoints": true
},
{
"idx": 20,
"version": "7",
"when": 1787099999115,
"tag": "0020_project_memory",
"breakpoints": true
},
{
"idx": 21,
"version": "7",
"when": 1787594239250,
"tag": "0021_user_last_active_organization",
"breakpoints": true
},
{
"idx": 22,
"version": "7",
"when": 1787773500453,
"tag": "0022_third_supernaut",
"breakpoints": true
},
{
"idx": 23,
"version": "7",
"when": 1788983569510,
"tag": "0023_clever_prowler",
"breakpoints": true
}
]
}