From 4e63d8427d26d0d1b366ddc53650e15f3481fc75 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Tue, 24 Jun 2025 01:44:03 +0000
Subject: (대표님/최겸) 20250624 작업사항 10시43분
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 db/migrations/0161_previous_pyro.sql | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 db/migrations/0161_previous_pyro.sql

(limited to 'db/migrations/0161_previous_pyro.sql')

diff --git a/db/migrations/0161_previous_pyro.sql b/db/migrations/0161_previous_pyro.sql
new file mode 100644
index 00000000..d9e83888
--- /dev/null
+++ b/db/migrations/0161_previous_pyro.sql
@@ -0,0 +1,2 @@
+DROP VIEW "public"."reg_eval_criteria_view";--> statement-breakpoint
+CREATE VIEW "public"."reg_eval_criteria_view" AS (select "reg_eval_criteria"."id", "reg_eval_criteria"."category", "reg_eval_criteria"."category" as "score_category", "reg_eval_criteria"."item", "reg_eval_criteria"."classification", "reg_eval_criteria"."range", "reg_eval_criteria_details"."id" as "detail_id", "reg_eval_criteria_details"."detail", "reg_eval_criteria_details"."order_index", "reg_eval_criteria_details"."score_equip_ship", "reg_eval_criteria_details"."score_equip_marine", "reg_eval_criteria_details"."score_bulk_ship", "reg_eval_criteria_details"."score_bulk_marine", "reg_eval_criteria"."remarks" from "reg_eval_criteria" left join "reg_eval_criteria_details" on "reg_eval_criteria"."id" = "reg_eval_criteria_details"."criteria_id" order by "reg_eval_criteria"."id", "reg_eval_criteria_details"."order_index");
\ No newline at end of file
-- 
cgit v1.2.3

