diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-07-19 23:02:36 +0200 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-07-19 23:02:36 +0200 |
commit | bd5bd39acfbb71c6a731064a535a9e89d8a1715a (patch) | |
tree | 78ddf77977c11810c2a66965df56687351ea64d1 /sonar-core | |
parent | cb4aedaf172eadbef66f816320c8931eae8e6929 (diff) | |
download | sonarqube-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.java | 7 | ||||
-rw-r--r-- | sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java | 2 |
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"; |