diff options
author | Michael Mokry <michael.mokry@att.com> | 2018-10-17 13:54:24 -0500 |
---|---|---|
committer | Michael Mokry <michael.mokry@att.com> | 2018-10-17 13:54:24 -0500 |
commit | 118213c007d9649aaf1d00e515aae281fe42390b (patch) | |
tree | 6758470b04ac2fdf63e54151041f9645873d5a2a | |
parent | 79b08ac2ed6fdd31ac94bbf549f805487b93941b (diff) |
Fix exceptions related to invalid db schema
Modified db upgrade script to alter systemlogdb table to allow null values for "remote" column.
Change-Id: Ib1bba59a38084bef8f89245d3725d18a02b303dc
Issue-ID: POLICY-1204
Signed-off-by: Michael Mokry <michael.mokry@att.com>
-rw-r--r-- | packages/base/src/files/install/mysql/data/181003_upgrade_script.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/base/src/files/install/mysql/data/181003_upgrade_script.sql b/packages/base/src/files/install/mysql/data/181003_upgrade_script.sql index b060292fe..6f2f151cd 100644 --- a/packages/base/src/files/install/mysql/data/181003_upgrade_script.sql +++ b/packages/base/src/files/install/mysql/data/181003_upgrade_script.sql @@ -17,4 +17,9 @@ -- ============LICENSE_END========================================================= use onap_sdk; update fn_app set APP_PASSWORD = '/xMjAl0TB1FgnHih2qA4V5gUkFQNZaK1fiNf3QlRaLI=' where app_id =1; + +use log; +ALTER TABLE systemlogdb +MODIFY remote varchar(255) null; + commit;
\ No newline at end of file |