squawk
squawk copied to clipboard
allow specific tables to be ignored
I want to exclude specific tables like alembic_version
Can you give a small example of what you're seeing? Wondering if we can make something more generic
Alembic automatically creates this:
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
);
I want to ignore the table alembic_version. I can't ignore via inline comments, because the sql is automatically created by alembic. I could also split it into a separate migration file, however that would require modifying (split) existing migrations of all my projects.
The easiest way which came to my mind was ignoring the table name.
If you have a better idea, I am open for suggestions