diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-04-22 10:53:04 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-04-28 12:22:45 +0200 |
commit | e2954649262d71c92a474471dbe893446f04dfc2 (patch) | |
tree | e800889bcba6ff0164bd67e9ca94ca205acdadcc /server/sonar-web/src | |
parent | aadd2ccda0a44307318c9f459089fe69fdac444a (diff) | |
download | sonarqube-e2954649262d71c92a474471dbe893446f04dfc2.tar.gz sonarqube-e2954649262d71c92a474471dbe893446f04dfc2.zip |
persist tests in db - SONAR-6255
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/db/migrate/912_add_file_sources_data_type.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/912_add_file_sources_data_type.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/912_add_file_sources_data_type.rb index 21da15f2111..0cf8ea5dc2a 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/912_add_file_sources_data_type.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/912_add_file_sources_data_type.rb @@ -26,6 +26,7 @@ class AddFileSourcesDataType < ActiveRecord::Migration def self.up add_column 'file_sources', 'data_type', :string, :limit => 20 + change_column 'file_sources', 'data_hash', :string, :limit => 50, :null => true remove_index_quietly('file_sources_file_uuid_uniq') add_index 'file_sources', ['file_uuid', 'data_type'], :name => 'file_sources_uuid_type', :unique => true end |