org.sonar.db.version.SchemaMigrationMapper.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-db Show documentation
Show all versions of sonar-db Show documentation
Create and request SonarQube schema
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="org.sonar.db.version.SchemaMigrationMapper"> <select id="selectVersions" resultType="int"> select version from schema_migrations </select> <insert id="insert" parameterType="string" useGeneratedKeys="false"> insert into schema_migrations(version) values (#{version,jdbcType=VARCHAR}) </insert> </mapper>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy