diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-09-13 15:19:12 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-09-16 12:22:12 +0200 |
commit | 4bc59b3d23d257875f01de2ecdadd42127ab9859 (patch) | |
tree | e44818c0ed97ebc564fd3a04c7534736b2ebc534 /server/sonar-web/src/main | |
parent | 0fe16d84ca548951ac499a66af25b8a0b37c7bd0 (diff) | |
download | sonarqube-4bc59b3d23d257875f01de2ecdadd42127ab9859.tar.gz sonarqube-4bc59b3d23d257875f01de2ecdadd42127ab9859.zip |
SONAR-8025 rewrite create table PROPERTIES2 in java
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1312_create_table_properties_2.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1312_create_table_properties_2.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1312_create_table_properties_2.rb index dc8456c9924..5c5513bafcd 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1312_create_table_properties_2.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1312_create_table_properties_2.rb @@ -24,15 +24,7 @@ class CreateTableProperties2 < ActiveRecord::Migration def self.up - create_table 'properties2' do |t| - t.column 'prop_key', :string, :limit => 512, :null => false - t.column :resource_id, :integer, :null => true - t.column :user_id, :integer, :null => true - t.column 'is_empty', :boolean, :null => false - t.column :text_value, :string, :limit => 4000, :null => true - t.column :clob_value, :text, :null => true - t.column 'created_at', :big_integer, :null => false - end + execute_java_migration('org.sonar.db.version.v61.CreateTableProperties2') add_varchar_index :properties2, :prop_key, :name => 'properties2_key' end end |