refactor: renamed instructions to context

This commit is contained in:
Per Stark
2025-05-09 16:00:52 +02:00
parent 463c562ba7
commit 6ed49f7155
22 changed files with 111 additions and 123 deletions
@@ -0,0 +1,8 @@
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;