aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/552_add_qprofile_dates.rb2
2 files changed, 2 insertions, 2 deletions
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 028bfb8749b..d9335527a23 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
@@ -51,7 +51,7 @@ CREATE TABLE "RULES_PROFILES" (
"LANGUAGE" VARCHAR(20),
"KEE" VARCHAR(255) NOT NULL,
"PARENT_KEE" VARCHAR(255),
- "RULES_UPDATED_AT" VARCHAR(24),
+ "RULES_UPDATED_AT" VARCHAR(100),
"CREATED_AT" TIMESTAMP,
"UPDATED_AT" TIMESTAMP
);
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/552_add_qprofile_dates.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/552_add_qprofile_dates.rb
index b6e6b2d2924..0fe7f3331b7 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/552_add_qprofile_dates.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/552_add_qprofile_dates.rb
@@ -24,7 +24,7 @@
class AddQprofileDates < ActiveRecord::Migration
def self.up
- add_column :rules_profiles, :rules_updated_at, :string, :limit => 24
+ add_column :rules_profiles, :rules_updated_at, :string, :limit => 100
add_column :rules_profiles, :created_at, :datetime, :null => true
add_column :rules_profiles, :updated_at, :datetime, :null => true
end