Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary re-creating column index (H5, MySQL) #162

Closed
Pilsenerek opened this issue Sep 4, 2017 · 1 comment · Fixed by #679
Closed

Unnecessary re-creating column index (H5, MySQL) #162

Pilsenerek opened this issue Sep 4, 2017 · 1 comment · Fixed by #679

Comments

@Pilsenerek
Copy link

Pilsenerek commented Sep 4, 2017

Hi Bros!

I use liquibase-maven-plugin 3.5.3 in Spring Boot App (spring-boot-starter-parent 1.5.6), MySQL 5.6.21, Win7.
It seems to work excellent with exception of usual index like:

@Entity @Table(name = "profile", indexes = { @Index(columnList = "code", name = "idx_code") }) public class Profile extends TenantRelatedEntity implements ProfileInterface { // }

Changelog from diff:

--changeset Pilsener:1504524186302-2
DROP INDEX idx_code ON profile;
CREATE INDEX idx_code ON profile(code);

All plugin from pom:
`
org.liquibase
liquibase-maven-plugin
3.5.3

    <configuration>
        <propertyFile>target/classes/db/liquibase.properties</propertyFile>
        <propertyFileWillOverride>true</propertyFileWillOverride>
    </configuration>
    <dependencies>
    	<dependency>
			<groupId>org.liquibase.ext</groupId>
			<artifactId>liquibase-hibernate5</artifactId>
			<version>3.6</version>
		</dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
            <version>4.3.10.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-jpa</artifactId>
            <version>1.11.6.RELEASE</version>
        </dependency>
        <dependency>
        	<groupId>javax.validation</groupId>
          	<artifactId>validation-api</artifactId>
            <version>2.0.0.Final</version>
        </dependency>
        <dependency>
        	<groupId>org.springframework.boot</groupId>
    		<artifactId>spring-boot-starter</artifactId>
    		<version>1.5.6.RELEASE</version>
        </dependency>
    </dependencies>
</plugin>`Thx in advance.

┆Issue is synchronized with this Jira Bug by Unito

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants