From 27d5301a68ad6f93eb61b6c6c5ef2a1e6b16d187 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Wed, 20 Sep 2023 10:59:14 -0500 Subject: [PATCH] Build triggers after views That way we can put triggers on views in the triggers directory. We could have a separate "catagory" just for triggers on views, but that introduces complication for no real benefit. --- make_files/make_db.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/make_files/make_db.mk b/make_files/make_db.mk index 37a5031..ba0d425 100644 --- a/make_files/make_db.mk +++ b/make_files/make_db.mk @@ -109,12 +109,12 @@ DB_TARGETS := $(CREATE_DB_TARGETS) $(DROP_DB_TARGETS) CREATE_SUB_DB_TARGETS := db/schemas/createschemas.sql \ db/schemas/createtables.sql \ db/schemas/createindexes.sql \ - db/schemas/createtriggers.sql \ db/schemas/createfunctions.sql \ - db/schemas/createviews.sql -DROP_SUB_DB_TARGETS := db/schemas/dropviews.sql \ + db/schemas/createviews.sql \ + db/schemas/createtriggers.sql +DROP_SUB_DB_TARGETS := db/schemas/droptriggers.sql \ + db/schemas/dropviews.sql \ db/schemas/dropindexes.sql \ - db/schemas/droptriggers.sql \ db/schemas/dropfunctions.sql \ db/schemas/droptables.sql \ db/schemas/dropschemas.sql -- 2.34.1