Files
minne/common/db/migrations/20250509_152033_rename_instructions_to_context.surql
T
Per Stark e3bb2935d0 chore: harden common storage bootstrap and slim embedded db assets
Unify embedding config, build providers from system settings, and fail
startup when index builds error or time out. Move Surreal assets under
common/db so embeds exclude crate source, and read storage via streams.
2026-05-29 14:44:23 +02:00

9 lines
316 B
Plaintext

DEFINE FIELD IF NOT EXISTS context ON text_content TYPE option<string>;
DEFINE FIELD OVERWRITE instructions ON text_content TYPE option<string>;
UPDATE text_content SET context = instructions WHERE instructions IS NOT NONE;
UPDATE text_content UNSET instructions;
REMOVE FIELD instructions ON TABLE text_content;