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

001_drop_role_table.sql has an error #1

Closed
eddumelendez opened this issue Mar 4, 2015 · 1 comment
Closed

001_drop_role_table.sql has an error #1

eddumelendez opened this issue Mar 4, 2015 · 1 comment

Comments

@eddumelendez
Copy link

First, 001_drop_role_table.sql has an error, this script contains uDeploy_role table should be test_role.

Here my steps. Everything works as expect in mysql database

liquibase.bat --driver=com.mysql.jdbc.Driver --classpath=C:\Users\eddu.melendez\.m2\repository\mysql\mysql-connector-java\5.1.28\mysql-connector-ja
va-5.1.28.jar --url="jdbc:mysql://localhost:3306/liquibase_demo" --username=root --password=root --changeLogFile=db-changelog.xml tag 1.0.0

Result: Successfully tagged root@localhost@jdbc:mysql://localhost:3306/liquibase_demo
Liquibase 'tag' Successful

liquibase.bat --driver=com.mysql.jdbc.Driver --classpath=C:\Users\eddu.melendez\.m2\repository\mysql\mysql-connector-java\5.1.28\mysql-connector-ja
va-5.1.28.jar --url="jdbc:mysql://localhost:3306/liquibase_demo" --username=root --password=root --changeLogFile=db-changelog.xml update

Result: Liquibase Update Successful

liquibase.bat --driver=com.mysql.jdbc.Driver --classpath=C:\Users\eddu.melendez\.m2\repository\mysql\mysql-connector-java\5.1.28\mysql-connector-ja
va-5.1.28.jar --url="jdbc:mysql://localhost:3306/liquibase_demo" --username=root --password=root --changeLogFile=db-changelog.xml rollback 1.0.0

Result: Liquibase Rollback Successful

@amrethc
Copy link
Owner

amrethc commented Mar 4, 2015

Hey Eddu, it was a typo.. i added a different file for drop table. I did use the right table name to drop... not sure if it a MS JDBC Driver issue to rollback?

@amrethc amrethc closed this as completed Mar 4, 2015
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

No branches or pull requests

2 participants