summaryrefslogtreecommitdiff
path: root/db/migrations/0077_past_ted_forrester.sql
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-03-25 15:55:45 +0900
committerjoonhoekim <26rote@gmail.com>2025-03-25 15:55:45 +0900
commit1a2241c40e10193c5ff7008a7b7b36cc1d855d96 (patch)
tree8a5587f10ca55b162d7e3254cb088b323a34c41b /db/migrations/0077_past_ted_forrester.sql
initial commit
Diffstat (limited to 'db/migrations/0077_past_ted_forrester.sql')
-rw-r--r--db/migrations/0077_past_ted_forrester.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrations/0077_past_ted_forrester.sql b/db/migrations/0077_past_ted_forrester.sql
new file mode 100644
index 00000000..8168fd1d
--- /dev/null
+++ b/db/migrations/0077_past_ted_forrester.sql
@@ -0,0 +1 @@
+CREATE VIEW "public"."rfqs_view" AS (select "rfqs"."id" as "id", "rfqs"."status" as "status", "rfqs"."created_at" as "created_at", "rfqs"."updated_at" as "updated_at", "rfqs"."created_by" as "created_by", "rfqs"."rfq_type" as "rfq_type", "rfqs"."rfq_code" as "rfq_code", "rfqs"."description" as "description", "rfqs"."due_date" as "due_date", "projects"."id" as "project_id", "projects"."code" as "project_code", "projects"."name" as "project_name" from "rfqs" left join "projects" on "rfqs"."project_id" = "projects"."id"); \ No newline at end of file