diff --git a/services/api/migrations/2024-10-06-174650_branch_head/down.sql b/services/api/migrations/2024-10-06-174650_branch_head/down.sql new file mode 100644 index 000000000..f0ca4249b --- /dev/null +++ b/services/api/migrations/2024-10-06-174650_branch_head/down.sql @@ -0,0 +1 @@ +DROP INDEX IF EXISTS index_branch_head; \ No newline at end of file diff --git a/services/api/migrations/2024-10-06-174650_branch_head/up.sql b/services/api/migrations/2024-10-06-174650_branch_head/up.sql new file mode 100644 index 000000000..a43c99e62 --- /dev/null +++ b/services/api/migrations/2024-10-06-174650_branch_head/up.sql @@ -0,0 +1,2 @@ +DROP INDEX IF EXISTS index_branch_head; +CREATE INDEX index_branch_head ON branch(uuid, project_id, head_id); \ No newline at end of file