diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-15 10:15:25 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-15 10:15:25 +0000 |
| commit | 0ffba85c79a7693d887e6fe0cd991e42faea8f36 (patch) | |
| tree | 66be78892c3f4e0b54cb17795ad8ebcdb37ff508 /db/migrations/0366_light_hedge_knight.sql | |
| parent | d7585b3f2ea941ee807c1e87bbc833265a193c78 (diff) | |
(공통) 스키마 index.ts 및 마이그레이션 파일 커밋
Diffstat (limited to 'db/migrations/0366_light_hedge_knight.sql')
| -rw-r--r-- | db/migrations/0366_light_hedge_knight.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrations/0366_light_hedge_knight.sql b/db/migrations/0366_light_hedge_knight.sql new file mode 100644 index 00000000..857e97a3 --- /dev/null +++ b/db/migrations/0366_light_hedge_knight.sql @@ -0,0 +1,7 @@ +ALTER TABLE "rfq_last_tbe_pdftron_comments" DROP CONSTRAINT "rfq_last_tbe_pdftron_comments_previous_version_rfq_last_tbe_pdftron_comments_id_fk"; +--> statement-breakpoint +DROP INDEX "idx_pdftron_version";--> statement-breakpoint +DROP INDEX "unique_latest_version";--> statement-breakpoint +CREATE UNIQUE INDEX "unique_document" ON "rfq_last_tbe_pdftron_comments" USING btree ("document_review_id","pdftron_document_id");--> statement-breakpoint +ALTER TABLE "rfq_last_tbe_pdftron_comments" DROP COLUMN "version";--> statement-breakpoint +ALTER TABLE "rfq_last_tbe_pdftron_comments" DROP COLUMN "previous_version";
\ No newline at end of file |
