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

SQLite system table no drop #1341

Merged
merged 1 commit into from Jun 17, 2016
Merged

SQLite system table no drop #1341

merged 1 commit into from Jun 17, 2016

Conversation

@aaltergot
Copy link
Contributor

@aaltergot aaltergot commented Jun 16, 2016

Flyway#clean() fails with

java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (table sqlite_sequence may not be dropped)

if schema contains sqlite_sequence table.

The sqlite_sequence table is created automatically whenever any ordinary table with an AUTOINCREMENT integer primary key is created. Once created, the sqlite_sequence table exists in the sqlite_master table forever; it cannot be dropped.

@axelfontaine axelfontaine added this to the Flyway 4.0.3 milestone Jun 16, 2016
@axelfontaine axelfontaine merged commit b5145eb into flyway:master Jun 17, 2016
@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Jun 17, 2016

Another great PR! Many thanks! Merged.

@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Aug 17, 2017

@aaltergot Could you please get in touch with me via email? (axel at boxfuse.com) Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants