Rename H2 database tables 53/101753/4
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 6 Jul 2022 09:17:11 +0000 (11:17 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 6 Jul 2022 11:02:55 +0000 (13:02 +0200)
commita8346963f824ea13fd85a755adbecb64eda16f5a
tree8a642420dfb65425dc7cf6bea0ba61efba1aaef8
parent51e55cfda09783214f52fc2bd1e84c7e56f07e5b
Rename H2 database tables

We have a potential conflict with H2 system tables, make sure we have
our own prefix. Since we are breaking compatibility, also use BOOLEAN
for ENABLED column.

JIRA: AAA-221
Change-Id: I9c84187cdc4528a71db90a8f046718b09120a7cf
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
aaa-idm-store-h2/src/main/java/org/opendaylight/aaa/datastore/h2/DomainStore.java
aaa-idm-store-h2/src/main/java/org/opendaylight/aaa/datastore/h2/GrantStore.java
aaa-idm-store-h2/src/main/java/org/opendaylight/aaa/datastore/h2/RoleStore.java
aaa-idm-store-h2/src/main/java/org/opendaylight/aaa/datastore/h2/UserStore.java
aaa-idm-store-h2/src/test/java/org/opendaylight/aaa/datastore/h2/DomainStoreTest.java
aaa-idm-store-h2/src/test/java/org/opendaylight/aaa/datastore/h2/UserStoreTest.java