aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-07-19 23:02:36 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-07-19 23:02:36 +0200
commitbd5bd39acfbb71c6a731064a535a9e89d8a1715a (patch)
tree78ddf77977c11810c2a66965df56687351ea64d1 /sonar-core
parentcb4aedaf172eadbef66f816320c8931eae8e6929 (diff)
downloadsonarqube-bd5bd39acfbb71c6a731064a535a9e89d8a1715a.tar.gz
sonarqube-bd5bd39acfbb71c6a731064a535a9e89d8a1715a.zip
SONAR-2628 Add a page to manage manual measures
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/jpa/entity/ManualMeasure.java7
-rw-r--r--sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java2
2 files changed, 8 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/jpa/entity/ManualMeasure.java b/sonar-core/src/main/java/org/sonar/jpa/entity/ManualMeasure.java
index 3e3544df582..ea1bb22921d 100644
--- a/sonar-core/src/main/java/org/sonar/jpa/entity/ManualMeasure.java
+++ b/sonar-core/src/main/java/org/sonar/jpa/entity/ManualMeasure.java
@@ -56,6 +56,9 @@ public final class ManualMeasure {
@Column(name = "updated_at", updatable = true, nullable = true)
private Date updatedAt;
+ @Column(name = "user_login", updatable = true, nullable = true, length = 40)
+ private String userLogin;
+
public Long getId() {
return id;
}
@@ -91,4 +94,8 @@ public final class ManualMeasure {
public Date getUpdatedAt() {
return updatedAt;
}
+
+ public String getUserLogin() {
+ return userLogin;
+ }
}
diff --git a/sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java b/sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java
index 0a9a08813a0..a77283fd703 100644
--- a/sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java
+++ b/sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java
@@ -40,7 +40,7 @@ public class SchemaMigration {
- complete the Derby DDL file used for unit tests : sonar-testing-harness/src/main/resources/org/sonar/test/persistence/sonar-test.ddl
*/
- public static final int LAST_VERSION = 213;
+ public static final int LAST_VERSION = 214;
public final static String TABLE_NAME = "schema_migrations";