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

Missing semi colon in the dryrun SQL to insert into the flyway_schema_history table #1894

Closed
dvdtknsn opened this issue Jan 11, 2018 · 2 comments

Comments

@dvdtknsn
Copy link

What version of Flyway are you using?

flyway pro 5.0.1

Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)

Jenkins and the command line

What database are you using (type & version)?

Oracle XE 11g

What operating system are you using?

Windows

What did you do?

When running the following dryrun script using SQLplus I get:
Table created.

ALTER SESSION SET CURRENT_SCHEMA="REDGATE_PRODUCTION"
*
ERROR at line 2:
ORA-00933: SQL command not properly ended

It looks like there's no semi colon after the INSERT statement. Is this a bug?

NSERT INTO "REDGATE_PRODUCTION"."flyway_schema_history" ("installed_rank","version","description","type","script","checksum","installed_by","execution_time","success") VALUES (1, '2', 'migration script', 'SQL', 'V2__migration_script.sql', -1362741165, 'REDGATE_PRODUCTION', 1, 1)

@axelfontaine
Copy link
Contributor

Thanks! Fixed.

@dvdtknsn
Copy link
Author

dvdtknsn commented Jan 11, 2018 via email

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

No branches or pull requests

2 participants