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

Create Index If Not Exists #199

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

LichtBuch
Copy link

Added "IF NOT EXISTS" to index/uniqueIndex creation via pragmas. I did this so it's more in line with creating tables and to be able to run a migration regardless of whether the table is already built (before you would get an Exception when trying to build an existing database).

@moigagoo
Copy link
Owner

@LichtBuch thanks for the contribution! Could you please add a changelog.md update to your PR? Just add a line about your change.

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 this pull request may close these issues.

None yet

2 participants