You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for building this great tool, really appreciate it.
I have an alembic migration that does not seem to be supported by squawk. My team decided to create a migration for these autovacuum setting changes in order to keep track of them in version control:
Upgrade:
ALTER TABLE table_name SET (autovacuum_vacuum_scale_factor = 0.0);
ALTER TABLE table_name SET (autovacuum_vacuum_threshold = 100000);
Downgrade:
ALTER TABLE table_name SET (autovacuum_vacuum_scale_factor = 0.2);
ALTER TABLE table_name SET (autovacuum_vacuum_threshold = 50);
When I run the command alembic upgrade head --sql | squawk I get the following error:
note: Squawk schema failed to parse Postgres response. This indicates a bug with Squawk.
Please report this error to https://github.com/sbdchd/squawk. Schema error: unknown variant
`List`, expected one of `TypeCast`, `FuncCall`, `Constraint`, `ColumnDef`, `A_Const`,
`ReplicaIdentityStmt`, `SQLValueFunction`, `PartitionCmd` at line 1 column 509925
help: Modify your Postgres statement to use valid syntax.
find detailed examples and solutions for each rule at https://squawkhq.com/docs/rules
If I remove just that particular migration, the command works as expected.
The text was updated successfully, but these errors were encountered:
First of all, thanks for building this great tool, really appreciate it.
I have an alembic migration that does not seem to be supported by squawk. My team decided to create a migration for these autovacuum setting changes in order to keep track of them in version control:
Upgrade:
Downgrade:
When I run the command
alembic upgrade head --sql | squawk
I get the following error:If I remove just that particular migration, the command works as expected.
The text was updated successfully, but these errors were encountered: