From 5c0fdc97364dfcf166aeab2f217b6a2ed29fde74 Mon Sep 17 00:00:00 2001 From: scottsauberlt <83788907+scottsauberlt@users.noreply.github.com> Date: Wed, 3 Apr 2024 15:33:05 -0500 Subject: [PATCH 1/2] Create V3__add_middle_name.sql --- sql/versioned/V3__add_middle_name.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 sql/versioned/V3__add_middle_name.sql diff --git a/sql/versioned/V3__add_middle_name.sql b/sql/versioned/V3__add_middle_name.sql new file mode 100644 index 0000000..00f81f3 --- /dev/null +++ b/sql/versioned/V3__add_middle_name.sql @@ -0,0 +1 @@ +ALTER TABLE customers ADD COLUMN middle_name varchar(100) From ff86f5592419760c22d35bd163ac5864d0735280 Mon Sep 17 00:00:00 2001 From: scottsauberlt <83788907+scottsauberlt@users.noreply.github.com> Date: Wed, 3 Apr 2024 15:33:58 -0500 Subject: [PATCH 2/2] Update R__create_customers_view.sql --- sql/repeatable/R__create_customers_view.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sql/repeatable/R__create_customers_view.sql b/sql/repeatable/R__create_customers_view.sql index 986c210..fefdb60 100644 --- a/sql/repeatable/R__create_customers_view.sql +++ b/sql/repeatable/R__create_customers_view.sql @@ -1,4 +1,5 @@ CREATE OR REPLACE VIEW v_customers AS - SELECT first_name, + SELECT first_name, + middle_name last_name - FROM customers \ No newline at end of file + FROM customers