Skip to content

Commit

Permalink
fix schema command
Browse files Browse the repository at this point in the history
  • Loading branch information
bikegeek committed Jul 23, 2023
1 parent a044dd3 commit b61c895
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions METdbLoad/sql/scripts/db_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ def create_database(self):


# Schema
schema_list = ['', self.db_name, ' < ', self.schema_path]
schema_str = ''.join(schema_list)
schema_cmd = uname_pass + schema_str
schema_list = [ "-umvadmin -p",self.password, self.db_name, ' < ',
self.schema_path]
schema_cmd = ''.join(schema_list)
logging.debug(f'Schema command: {schema_cmd}')


Expand Down

0 comments on commit b61c895

Please sign in to comment.