Problem
There is no option to ignore table during introspection (prisma introspect)
Actually all table are in the schema.
For example _migrations tables don't have to be in the schema.
Suggested solution
I suggest to add a cli argument --ignoreTablePattern whose names match a regexp pattern.
For example, tables whose names begin with an underscore.
prisma introspect --ignoreTablePattern '^_'
Alternatives
If too complexe. The simplest solution can also be --ignoreUnderscoreTable but less custom
Problem
There is no option to ignore table during introspection (
prisma introspect)Actually all table are in the schema.
For example
_migrationstables don't have to be in the schema.Suggested solution
I suggest to add a cli argument
--ignoreTablePatternwhose names match a regexp pattern.For example, tables whose names begin with an underscore.
prisma introspect --ignoreTablePattern '^_'Alternatives
If too complexe. The simplest solution can also be
--ignoreUnderscoreTablebut less custom