summaryrefslogtreecommitdiff
path: root/db/migrations/0287_busy_darkhawk.sql
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-08-14 11:54:47 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-08-14 11:54:47 +0000
commit969c25b56f6d29d7ffa4bc2ce04c5fb4e5846b34 (patch)
tree551d335e850e6163792ded0e7a75fa41d96d612a /db/migrations/0287_busy_darkhawk.sql
parentdd20ba9785cdbd3d61f6b014d003d3bd9646ad13 (diff)
(대표님) 정규벤더등록, 벤더문서관리, 벤더데이터입력, 첨부파일관리
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