Files
pad/internal/store/migrations/008_tasks_phase_field.sql
T
xarmian 81579847c6 Initial release
Pad — project management for developers and AI agents.
Single Go binary with embedded SvelteKit web UI, SQLite storage,
CLI, and Claude Code /pad skill integration.

https://getpad.dev
2026-03-26 01:52:36 +00:00

9 lines
247 B
SQL

UPDATE collections
SET schema = json_set(
schema,
'$.fields[#]',
json('{"key":"phase","label":"Phase","type":"relation","collection":"phases"}')
)
WHERE slug = 'tasks'
AND json_extract(schema, '$.fields') NOT LIKE '%"key":"phase"%';