
org.sonar.server.ruby.call_databaseversion_upgrade.rb Maven / Gradle / Ivy
# this script defines a method which calls the class method "upgrade" of the DatabaseVersion class defined
# in /server/sonar-web/src/main/webapp/WEB-INF/lib/database_version.rb
require 'database_version'
class RbCallUpgrade
include Java::org.sonar.server.ruby.CallDatabaseVersionUpgrade
def call_upgrade
DatabaseVersion.upgrade
end
end
RbCallUpgrade.new
© 2015 - 2025 Weber Informatics LLC | Privacy Policy