Skip to content

Conversation

@creachadair
Copy link
Member

@creachadair creachadair commented Oct 30, 2025

In some cases, a database may have tables that squibble should not treat as
part of the update schema. We already have a couple examples of this, we filter
out _schema_history (which squibble populates), and the sqlite_sequence table.

Another example, as described in #1, are the tables created by the Litestream
replication tool (https://litestream.io).

Add a field to the Schema type allowing the user to specify database and view
names that should be excluded, and include those in the filter we apply when
loading a schema for comparison.

@creachadair creachadair requested a review from kradalby October 30, 2025 03:41
Copy link
Member

@kradalby kradalby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

In some cases, a database may have tables that squibble should not treat as
part of the update schema. We already have a couple examples of this, we filter
out _schema_history (which squibble populates), and the sqlite_sequence table.

Another example, as described in #1, are the tables created by the Litestream
replication tool (https://litestream.io/).

Add a field to the Schema type allowing the user to specify database and view
names that should be excluded, and include those in the filter we apply when
loading a schema for comparison.
@creachadair creachadair marked this pull request as ready for review October 30, 2025 15:04
@creachadair creachadair merged commit 270dbd7 into main Oct 30, 2025
1 check passed
@creachadair creachadair deleted the mjf/ignore-tables branch October 30, 2025 15:16
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.

2 participants