Open MatMercer opened 1 week ago
I agree that this should be a way to ignore things as well, but what you should be able to do is apply the typeFilter configuration property. It takes a function that receives a PgType
and returns a boolean. So if you want to ignore every table that starts with migration
, you could do this:
{
// ...
typeFilter: (pgType) => !/^migration/.test(pgType.name)
}
Overview
There's some tables (related to migrations) I want to ignore at my codebase. I didn't found a way to configure that.
I tried returning "null/undefined" at
getMetadata
but that breaks Kanel. Perhaps adding a simple if (undefined) at the next pipeline steps would be a quick way to implement ignores?Expected Behavior
Should ignore 'ignored_table' type generation.
Current Behavior