Skip to content

Commit

Permalink
Create table
Browse files Browse the repository at this point in the history
  • Loading branch information
geekbeast committed Mar 4, 2022
1 parent 051cb79 commit 5f1dd21
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class ExportOrganizationMembers(
val members = principalService.getOrganizationMembers(organizationsIds)

hds.connection.use { connection ->
connection.createStatement().use { stmt -> stmt.execute(USERS_EXPORT_TABLE) }
connection.prepareStatement(INSERT_USER_SQL).use { ps ->
members.forEach { (orgId, orgMembers) ->
orgMembers.forEach { orgMember ->
Expand Down

0 comments on commit 5f1dd21

Please sign in to comment.