]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3755 ISSUES.RULE_ID should be nullable
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 30 Apr 2013 09:16:35 +0000 (11:16 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 30 Apr 2013 09:16:35 +0000 (11:16 +0200)
sonar-server/src/main/webapp/WEB-INF/db/migrate/389_create_issues.rb

index c5478fb1ea67ec6cd765fc47cb1fa3074f4c0c90..190263144fe5650d4d24bec8b51fa5a0eed81730 100644 (file)
@@ -27,7 +27,7 @@ class CreateIssues < ActiveRecord::Migration
     create_table :issues do |t|
       t.column :kee,                  :string,    :null => false,   :limit => 36
       t.column :resource_id,          :integer,   :null => false
-      t.column :rule_id,              :integer,   :null => false
+      t.column :rule_id,              :integer,   :null => true
       t.column :severity,                                        :string,        :null => true,          :limit => 10
       t.column :manual_severity,      :boolean,   :null => false
       t.column :manual_issue,         :boolean,   :null => false