diff options
author | Godin <mandrikov@gmail.com> | 2010-12-03 12:00:23 +0000 |
---|---|---|
committer | Godin <mandrikov@gmail.com> | 2010-12-03 12:00:23 +0000 |
commit | f8961c4b761b4d11b0e9823b899dfaabfe399f71 (patch) | |
tree | 2a4a269c2b1624933a1ad0895f6c3743a1e02cca /sonar-server | |
parent | 4de9f9f8e864a3564e6f2fe316424ec80280e5a4 (diff) | |
download | sonarqube-f8961c4b761b4d11b0e9823b899dfaabfe399f71.tar.gz sonarqube-f8961c4b761b4d11b0e9823b899dfaabfe399f71.zip |
SONAR-1450: Add checksum to RuleFailureModel and use it in ViolationPersisterDecorator
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/db/migrate/160_add_rule_failures_columns.rb (renamed from sonar-server/src/main/webapp/WEB-INF/db/migrate/160_add_rule_failures_created_at_column.rb) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/160_add_rule_failures_created_at_column.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/160_add_rule_failures_columns.rb index f5e0aea9860..066c0c473d0 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/160_add_rule_failures_created_at_column.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/160_add_rule_failures_columns.rb @@ -21,10 +21,11 @@ # # Sonar 2.5 # -class AddRuleFailuresCreatedAtColumn < ActiveRecord::Migration +class AddRuleFailuresColumns < ActiveRecord::Migration def self.up add_column 'rule_failures', 'created_at', :datetime, :null => true + add_column 'rule_failures', 'checksum', :string , :null => true, :limit => 1000 end end |