summaryrefslogtreecommitdiff
path: root/db/migrations/0099_outstanding_emma_frost.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations/0099_outstanding_emma_frost.sql')
-rw-r--r--db/migrations/0099_outstanding_emma_frost.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrations/0099_outstanding_emma_frost.sql b/db/migrations/0099_outstanding_emma_frost.sql
new file mode 100644
index 00000000..1749ab21
--- /dev/null
+++ b/db/migrations/0099_outstanding_emma_frost.sql
@@ -0,0 +1,2 @@
+DROP VIEW "public"."vendor_materials_view";--> statement-breakpoint
+CREATE VIEW "public"."vendor_materials_view" AS (select "vendor_possible_materials"."id", "vendor_possible_materials"."vendor_id", "materials"."item_name", "materials"."item_code", "materials"."description", "materials"."unit_of_measure", "materials"."steel_type", "materials"."grade_material", "vendor_possible_materials"."created_at", "vendor_possible_materials"."updated_at" from "vendor_possible_materials" left join "materials" on "vendor_possible_materials"."item_code" = "materials"."item_code"); \ No newline at end of file