diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-04-08 03:08:19 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-04-08 03:08:19 +0000 |
| commit | 9ceed79cf32c896f8a998399bf1b296506b2cd4a (patch) | |
| tree | f84750fa6cac954d5e31221fc47a54c655fc06a9 /db/migrations_backup/0016_fat_komodo.sql | |
| parent | 230ce796836c25df26c130dbcd616ef97d12b2ec (diff) | |
로그인 및 미들웨어 처리. 구조 변경
Diffstat (limited to 'db/migrations_backup/0016_fat_komodo.sql')
| -rw-r--r-- | db/migrations_backup/0016_fat_komodo.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrations_backup/0016_fat_komodo.sql b/db/migrations_backup/0016_fat_komodo.sql new file mode 100644 index 00000000..f9e1840c --- /dev/null +++ b/db/migrations_backup/0016_fat_komodo.sql @@ -0,0 +1,5 @@ +ALTER TABLE "users" DROP CONSTRAINT "users_company_id_companies_id_fk"; +--> statement-breakpoint +ALTER TABLE "rfq_attachments" ADD COLUMN "comment_id" integer;--> statement-breakpoint +ALTER TABLE "rfq_attachments" ADD CONSTRAINT "rfq_attachments_comment_id_rfq_comments_id_fk" FOREIGN KEY ("comment_id") REFERENCES "public"."rfq_comments"("id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint +ALTER TABLE "users" ADD CONSTRAINT "users_company_id_vendors_id_fk" FOREIGN KEY ("company_id") REFERENCES "public"."vendors"("id") ON DELETE set null ON UPDATE no action;
\ No newline at end of file |
