Skip to content

Conversation

@ThomWright
Copy link
Owner

Use 'ensureDatabaseExists' flag on the migrate function.

I think this makes the API smaller/simpler.

This implementation also checks whether the database exists before
trying to create it, which means it should work on readonly
replicas.

Fixes #57

Use 'ensureDatabaseExists' flag on the migrate function.

I _think_ this makes the API smaller/simpler.

This implementation also checks whether the database exists before
trying to create it, which means it _should_ work on readonly
replicas.

Fixes #57
@ThomWright ThomWright merged commit 5a73373 into master Jul 20, 2021
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.

Check for existence of database

2 participants