Skip to content

Commit

Permalink
Added a log message stating schema init if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
stvoutsin committed May 27, 2024
1 parent b2263cb commit 1c63346
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tap/src/main/java/ca/nrc/cadc/uws/impl/UWSInitAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public void doInit() {
uws = DBUtil.findJNDIDataSource("jdbc/uws");
conn = uws.getConnection();
if (!schemaExists(conn, "uws")) {
log.info("uws schema does not exist, creating...");
createSchema(conn, "uws");
log.info("uws schema created");

Expand Down

0 comments on commit 1c63346

Please sign in to comment.