feat(db): add dev seed script for ActivityDefinition — T12
src/activity_core/seed.py: inserts one example ActivityDefinition
('example-heartbeat', cron every minute, static context source,
log_message task template). Idempotent — skips by name on re-run.
Run with:
ACTCORE_DB_URL=postgresql+asyncpg://actcore:actcore@localhost:5433/actcore \
python -m activity_core.seed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cb7cf3bc8c
commit
027e41dbc0
2 changed files with 89 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ tasks:
|
|||
state_hub_task_id: 491a6903-8189-43bb-958f-4d16abc84f8e
|
||||
- id: T12
|
||||
title: Seed one example ActivityDefinition
|
||||
status: todo
|
||||
status: done
|
||||
state_hub_task_id: f24662ff-4a26-48bd-b997-57e7586c7f11
|
||||
- id: T13
|
||||
title: Scaffold Python worker project
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue