Diego Imbert and Claude Opus 4.7
54c7388071
feat(drafts): drop draft_only column from script/flow/app
...
Drafts now live in the `draft` table exclusively — `draft_only` stubs in
script/flow/app are redundant. Migration `INSERT INTO draft ... ON
CONFLICT (workspace_id, path, typ) WHERE email IS NULL DO NOTHING` so
real per-user drafts already at the same path are preserved; only rare
stubs that lost their draft get a synthesised workspace-level row.
Stubs are then deleted (FKs cascade to *_version) and the column is
dropped. List endpoints keep a synthesised `draft_only: true` on rows
sourced from the draft table itself (sqlx default on the struct field).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-09 19:36:02 +02:00
..
2026-06-09 19:36:02 +02:00
2026-02-07 22:12:55 +00:00
2026-05-20 15:58:05 +00:00
2026-06-03 10:33:16 +00:00
2026-03-26 08:18:01 +00:00
2025-06-02 22:12:33 +02:00
2026-06-09 19:36:02 +02:00
2026-06-05 16:50:07 +00:00
2026-03-27 09:55:04 +00:00
2026-03-04 11:50:59 +00:00
2026-01-20 12:52:58 +00:00
2026-04-23 16:30:18 +00:00
2026-02-07 22:12:55 +00:00
2026-04-05 14:00:44 +00:00
2026-03-08 16:18:22 +00:00
2026-06-08 15:19:31 +02:00
2026-05-11 22:09:21 +00:00
2026-02-07 22:12:55 +00:00
2026-02-04 18:48:51 +00:00
2026-03-27 09:55:04 +00:00
2026-02-08 12:12:03 +00:00
2026-02-08 12:12:03 +00:00
2025-06-02 22:12:33 +02:00
2026-02-08 12:12:03 +00:00
2026-03-27 09:55:04 +00:00
2026-02-08 12:12:03 +00:00
2026-03-28 09:32:10 +00:00
2026-03-03 16:46:10 +00:00
2025-12-10 17:28:56 +00:00
2026-04-14 00:04:10 +00:00
2026-03-24 09:45:37 +00:00
2026-03-05 06:19:51 +00:00
2026-02-07 22:12:55 +00:00
2026-02-07 22:12:55 +00:00
2026-06-08 22:26:19 +00:00
2026-05-28 00:26:42 +02:00
2026-02-07 22:12:55 +00:00
2026-01-14 12:06:40 +00:00
2026-06-03 09:00:43 +00:00
2026-04-24 17:14:08 +00:00
2026-06-09 19:36:02 +02:00
2025-06-02 22:12:33 +02:00
2026-06-09 19:36:02 +02:00
2026-01-14 12:06:40 +00:00
2026-02-07 22:12:55 +00:00
2026-04-03 17:39:32 +00:00
2026-03-27 09:55:04 +00:00
2026-04-03 13:46:09 +00:00
2025-09-04 22:05:22 +00:00
2026-03-22 17:18:22 +00:00
2026-03-27 09:55:04 +00:00
2026-03-27 09:55:04 +00:00
2026-04-08 20:35:27 +00:00
2026-05-29 04:50:31 +00:00
2026-06-06 08:02:20 +00:00
2025-06-02 22:12:33 +02:00
2026-05-30 10:05:19 +00:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
2025-09-19 17:43:16 +00:00
2026-02-07 22:12:55 +00:00
2026-04-23 16:30:18 +00:00
2026-04-13 21:50:50 +00:00
2026-05-03 07:14:14 +00:00
2026-03-20 12:37:05 +00:00
2026-06-09 19:36:02 +02:00
2026-06-07 23:32:26 +02:00
2026-02-07 22:12:55 +00:00
2026-03-05 06:19:51 +00:00
2026-02-08 00:39:56 +00:00
2026-03-27 09:55:04 +00:00
2026-04-29 18:54:55 +00:00
2026-06-09 19:36:02 +02:00
2026-04-24 17:14:08 +00:00