summaryrefslogtreecommitdiff
path: root/db/migrations/0287_busy_darkhawk.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations/0287_busy_darkhawk.sql')
-rw-r--r--db/migrations/0287_busy_darkhawk.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/migrations/0287_busy_darkhawk.sql b/db/migrations/0287_busy_darkhawk.sql
new file mode 100644
index 00000000..c2634f58
--- /dev/null
+++ b/db/migrations/0287_busy_darkhawk.sql
@@ -0,0 +1,3 @@
+ALTER TABLE "change_logs" RENAME COLUMN "project_id" TO "vendor_id";--> statement-breakpoint
+DROP INDEX "idx_change_logs_project_synced";--> statement-breakpoint
+CREATE INDEX "idx_change_logs_vendor_synced" ON "change_logs" USING btree ("vendor_id","is_synced"); \ No newline at end of file