diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2015-05-22 09:58:17 +0200 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2015-05-26 15:13:32 +0200 |
commit | f63ea546f656b7150bea668f76a7f367eee97a41 (patch) | |
tree | 0259ae44a23cb748d167cf4c7abcc1f893b40687 /sonar-core | |
parent | 563b935a13d6cb6a3a932350ad8ea6cfc5769743 (diff) | |
download | sonarqube-f63ea546f656b7150bea668f76a7f367eee97a41.tar.gz sonarqube-f63ea546f656b7150bea668f76a7f367eee97a41.zip |
SONAR-6472 New WS to create user groups
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/user/GroupMapper.java | 6 | ||||
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/user/GroupMapper.java b/sonar-core/src/main/java/org/sonar/core/user/GroupMapper.java index 1dadf30f572..24dfd2e6768 100644 --- a/sonar-core/src/main/java/org/sonar/core/user/GroupMapper.java +++ b/sonar-core/src/main/java/org/sonar/core/user/GroupMapper.java @@ -20,11 +20,9 @@ package org.sonar.core.user; -import org.apache.ibatis.session.RowBounds; - -import javax.annotation.CheckForNull; - import java.util.List; +import javax.annotation.CheckForNull; +import org.apache.ibatis.session.RowBounds; public interface GroupMapper { diff --git a/sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl b/sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl index f1b4b16c6c4..035a93ad9f3 100644 --- a/sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl +++ b/sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl @@ -82,7 +82,7 @@ CREATE TABLE "WIDGETS" ( CREATE TABLE "GROUPS" ( "ID" INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), - "NAME" VARCHAR(255), + "NAME" VARCHAR(500), "DESCRIPTION" VARCHAR(200), "CREATED_AT" TIMESTAMP, "UPDATED_AT" TIMESTAMP |