Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Updated schema for basic identity provider

Rich Turner6f94db3a221d
diff --git a/container/src/main/resources/org/openremote/container/persistence/schema/basicidentityprovider/V20171031_02__BasicIdentityProvider.sql b/container/src/main/resources/org/openremote/container/persistence/schema/basicidentityprovider/V20171031_02__BasicIdentityProvider.sql
index 89162a424..e0b5bba84 100644
--- a/container/src/main/resources/org/openremote/container/persistence/schema/basicidentityprovider/V20171031_02__BasicIdentityProvider.sql
+++ b/container/src/main/resources/org/openremote/container/persistence/schema/basicidentityprovider/V20171031_02__BasicIdentityProvider.sql
@@ -1,3 +1,6 @@
+DROP SCHEMA IF EXISTS PUBLIC CASCADE;
+CREATE SCHEMA PUBLIC;
+
drop table if exists PUBLIC.USER_ENTITY;
drop table if exists PUBLIC.REALM_ATTRIBUTE;
drop table if exists PUBLIC.REALM;