n8n/scripts/instance-seeding
Arvin Ansari 7173725c2b
fix(core): Say why the activity log was skipped, not just that it was (no-changelog)
"this build has no activity_event table" misdiagnosed the common case. The
table is created by a migration, and n8n applies migrations on startup — so a
checkout that carries the migration paired with a database last used by a
branch that predates it is the normal situation, not a missing feature. The old
wording pointed at the code when the answer was the database.

Now the three cases are distinguished by looking at both the migration files in
the checkout and the migrations table in the database: the migration is absent
from this checkout, or it is present but unapplied here (with the fix — start
n8n once from this worktree), or it is recorded as applied while the table is
gone, which means something is wrong with the database rather than the setup.
2026-08-26 15:20:25 +02:00
..
AGENTS.md feat(core): Add pnpm seed:account and make the seed findable (no-changelog) 2026-08-26 15:14:08 +02:00
seed-anthropic-linear.data.mjs feat(core): Seed a whole account, not just workflows (no-changelog) 2026-08-26 15:05:37 +02:00
seed-anthropic-linear.mjs fix(core): Say why the activity log was skipped, not just that it was (no-changelog) 2026-08-26 15:20:25 +02:00
seedInstance.mjs chore: Add script to seed an example instance with workflows (#33513) 2026-07-03 09:21:32 +00:00