]> source.dussan.org Git - sonarqube.git/commit
SONAR-18728 Add DB migrations for SCM_ACCOUNTS
authorAurelien Poscia <aurelien.poscia@sonarsource.com>
Mon, 27 Mar 2023 09:20:37 +0000 (11:20 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 31 Mar 2023 20:03:26 +0000 (20:03 +0000)
commitaacf684567dee8cbb717b1f69f1a12e4750324f6
treec4e94c6b87e0f6252e1018cebadb4b5aa4221a0d
parent621b8b541c4155dc2613710cbf168633715ba4ab
SONAR-18728 Add DB migrations for SCM_ACCOUNTS
12 files changed:
server/sonar-db-dao/src/schema/schema-sq.ddl
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/DataChange.java
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/MassRowSplitter.java [new file with mode: 0644]
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v100/CreateScmAccountsTable.java [new file with mode: 0644]
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v100/DbVersion100.java
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v100/MigrateScmAccountsFromUsersToScmAccounts.java [new file with mode: 0644]
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/step/DataChangeTest.java
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v100/CreateScmAccountsTableTest.java [new file with mode: 0644]
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v100/MigrateScmAccountsFromUsersToScmAccountsTest.java [new file with mode: 0644]
server/sonar-db-migration/src/test/resources/org/sonar/server/platform/db/migration/step/DataChangeTest/schema.sql
server/sonar-db-migration/src/test/resources/org/sonar/server/platform/db/migration/version/v100/CreateIndexesForScmAccountsTest/schema.sql [new file with mode: 0644]
server/sonar-db-migration/src/test/resources/org/sonar/server/platform/db/migration/version/v100/MigrateScmAccountsFromUsersToScmAccountsTest/schema.sql [new file with mode: 0644]