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

Improve testability #321

Merged
merged 6 commits into from
Mar 15, 2018
Merged

Improve testability #321

merged 6 commits into from
Mar 15, 2018

Conversation

groue
Copy link
Owner

@groue groue commented Mar 15, 2018

This PR brings convenience methods that help testing database contents and migrations:

  • Database.isSQLiteInternalTable(_:) returns whether a table name is an internal SQLite table.
  • Database.isGRDBInternalTable(_:) returns whether a table name is an internal GRDB table.
  • DatabaseMigrator.appliedMigrations(in:) returns the set of applied migrations identifiers in a database.

@groue groue added this to the GRDB 3.0 milestone Mar 15, 2018
@groue groue merged commit 727be0a into GRDB3 Mar 15, 2018
@groue groue deleted the GRDB3-Testability branch March 15, 2018 19:25
@groue groue mentioned this pull request Mar 15, 2018
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant