diff --git a/backend/db/migrations/j2w72uaf.add-southasian.sql b/backend/db/migrations/j2w72uaf.add-southasian.sql new file mode 100644 index 0000000..33a051c --- /dev/null +++ b/backend/db/migrations/j2w72uaf.add-southasian.sql @@ -0,0 +1,14 @@ +INSERT INTO annotation_option (annotation_attribute_id, name, sort_order) VALUES + (3, 'South Asian', 6); + +UPDATE annotation_option + SET sort_order = 7 + WHERE name = 'Not Listed'; + +--- +DELETE FROM annotation_option WHERE + name = 'South Asian'; + +UPDATE annotation_option + SET sort_order = 6 + WHERE name = 'Not Listed';