wizardchen
fdc22fd7a5
feat(builtin-models): add managed_by column to models table
...
Introduce a `managed_by` varchar column on `models` so future declarative
loaders can claim ownership of a subset of rows without disturbing entries
created via the UI/API or seeded by hand-written SQL.
- versioned/000052_models_managed_by.{up,down}.sql add the column with a
default of '' and a partial index on non-empty values to keep startup
reconciliation cheap.
- sqlite/000000_init.up.sql is updated in place (the Lite init migration
is a single file per project convention) so fresh SQLite databases get
the column from the start.
- Model.ManagedBy mirrors the column. Existing rows default to '' which
the YAML loader treats as "manually managed, never touch".
Schema half of the YAML-driven built-in-model lifecycle work that follows
up on #1453 ; the reconciler that uses the column lands in the next commit.
2026-05-26 11:37:03 +08:00
..
2025-12-10 17:13:30 +08:00
2025-12-17 22:04:18 +08:00
2025-12-10 17:13:30 +08:00
2025-12-10 17:13:30 +08:00
2025-12-10 17:13:30 +08:00
2025-12-10 17:13:30 +08:00
2025-12-12 19:57:08 +08:00
2025-12-12 19:57:08 +08:00
2025-12-22 13:11:31 +08:00
2025-12-22 13:11:31 +08:00
2025-12-22 13:11:31 +08:00
2025-12-22 13:11:31 +08:00
2025-12-26 21:31:02 +08:00
2025-12-26 21:31:02 +08:00
2025-12-30 19:44:53 +08:00
2025-12-31 19:54:03 +08:00
2026-01-15 19:38:16 +08:00
2026-03-19 22:03:09 +08:00
2026-01-15 19:38:16 +08:00
2026-01-15 19:38:16 +08:00
2026-01-14 17:13:44 +08:00
2026-01-14 17:13:44 +08:00
2026-01-30 19:30:35 +08:00
2026-03-19 22:03:09 +08:00
2026-02-09 11:40:25 +08:00
2026-02-09 11:40:25 +08:00
2026-03-02 21:21:49 +08:00
2026-03-03 13:24:20 +08:00
2026-03-02 21:21:49 +08:00
2026-03-02 21:21:49 +08:00
2026-03-05 18:14:14 +08:00
2026-03-05 18:14:14 +08:00
2026-03-05 18:14:14 +08:00
2026-03-05 18:14:14 +08:00
2026-03-09 10:35:07 +08:00
2026-03-09 10:35:07 +08:00
2026-03-09 10:35:07 +08:00
2026-03-09 10:35:07 +08:00
2026-03-09 11:46:56 +08:00
2026-03-09 11:46:56 +08:00
2026-03-09 11:46:56 +08:00
2026-03-09 11:46:56 +08:00
2026-03-16 02:40:42 +08:00
2026-03-16 02:40:42 +08:00
2026-03-16 02:40:42 +08:00
2026-03-16 02:40:42 +08:00
2026-03-17 22:23:24 +08:00
2026-03-17 22:23:24 +08:00
2026-03-17 22:23:24 +08:00
2026-03-17 22:23:24 +08:00
2026-03-25 22:08:29 +08:00
2026-03-25 22:08:29 +08:00
2026-03-25 22:08:29 +08:00
2026-03-25 22:08:29 +08:00
2026-03-26 18:57:12 +08:00
2026-03-26 18:57:12 +08:00
2026-03-30 10:43:14 +08:00
2026-03-30 10:43:14 +08:00
2026-03-31 20:22:34 +08:00
2026-04-03 11:31:21 +08:00
2026-03-31 20:22:34 +08:00
2026-04-03 11:31:21 +08:00
2026-04-02 21:27:27 +08:00
2026-04-03 11:31:21 +08:00
2026-04-09 01:39:51 +08:00
2026-04-09 01:39:51 +08:00
2026-04-10 22:01:42 +08:00
2026-04-10 22:01:42 +08:00
2026-04-14 14:54:21 +08:00
2026-04-14 14:54:21 +08:00
2026-04-15 11:37:24 +08:00
2026-04-15 11:37:24 +08:00
2026-04-20 19:53:44 +08:00
2026-04-20 19:53:44 +08:00
2026-04-22 21:24:08 +08:00
2026-04-22 21:24:08 +08:00
2026-04-28 20:53:06 +08:00
2026-04-28 20:53:06 +08:00
2026-04-30 16:23:00 +08:00
2026-04-30 16:23:00 +08:00
2026-05-08 21:48:52 +08:00
2026-05-08 21:48:52 +08:00
2026-05-10 00:01:06 +08:00
2026-05-14 16:51:21 +08:00
2026-05-10 22:57:12 +08:00
2026-05-10 22:57:12 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-18 17:28:58 +08:00
2026-05-26 11:37:03 +08:00
2026-05-26 11:37:03 +08:00