Skip to content

Commit 23209bc

Browse files
feat: clean up unused DB table service_provider
- This table was added for the UAA-as-SAML-IDP feature (b93c87a) - This feature has been removed: #2638. Hence this table is now unused. - The "DROP TABLE IF EXISTS" syntax would not error out if the table does not exist, compared to just "DROP TABLE". - Also clean up docs and a test util that reference this table. [#182118433]
1 parent d962dd6 commit 23209bc

File tree

5 files changed

+3
-2
lines changed

5 files changed

+3
-2
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ List of relations
197197
public | schema_version | table | root
198198
public | sec_audit | table | root
199199
public | sec_audit_id_seq | sequence | root
200-
public | service_provider | table | root
201200
public | spring_session | table | root
202201
public | spring_session_attributes | table | root
203202
public | user_google_mfa_credentials | table | root
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TABLE IF EXISTS service_provider;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TABLE IF EXISTS service_provider;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TABLE IF EXISTS service_provider;

server/src/test/java/org/cloudfoundry/identity/uaa/test/TestUtils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ public static void cleanAndSeedDb(JdbcTemplate jdbcTemplate) throws SQLException
5959
jdbcTemplate.update("DELETE FROM oauth_code");
6060
jdbcTemplate.update("DELETE FROM revocable_tokens");
6161
jdbcTemplate.update("DELETE FROM sec_audit");
62-
jdbcTemplate.update("DELETE FROM service_provider");
6362
jdbcTemplate.update("DELETE FROM user_info");
6463
jdbcTemplate.update("DELETE FROM users");
6564
jdbcTemplate.update("DELETE FROM mfa_providers");

0 commit comments

Comments
 (0)