summaryrefslogtreecommitdiff
path: root/config/environments
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-15 01:41:34 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-15 01:41:34 +0200
commit8ad1f2a301a12d41e0c0005b5fb13c1a78a2e094 (patch)
tree7c04f573bbcd019c1e49432c3a9c7e9d37e1d153 /config/environments
parent28a6999b55cbec555696df848d6e924aae3166ee (diff)
Add NodeAction: a small, append-only log of who did what to a nodeHEADmaster
node_id required; page_id/locale/metadata nullable, for actions that don't involve a specific revision or translation. user_id nullifies on account deletion -- the first real DB-level foreign key to users this app has had; every prior user_id/editor_id column is a bare, unconstrained integer, enforced only by convention. username is snapshotted at write time specifically so the actor's name survives that deletion; actor_name prefers the live user (so a rename shows up correctly for anyone still active) and only falls back to the snapshot once the account is actually gone. occurred_at is deliberately one field for both live-witnessed and backfilled entries; inferred_from distinguishes the two -- nil means witnessed at the moment it happened, populated means backfilled and names how it was estimated, since a seeded guess and a real observation shouldn't be presented with the same confidence.
Diffstat (limited to 'config/environments')
0 files changed, 0 insertions, 0 deletions