2 Commits

Author SHA1 Message Date
Konstantina Skovola
c1b500f0be Fix pylint errors 2023-10-02 20:59:08 +03:00
Konstantina Skovola
f505bd2207 Add CI check for incorrect catalog updates
There are certain modifications/commands that should not be allowed
in our update/downgrade scripts. For example, when adding or dropping
columns to timescaledb catalog tables, the right way to do this is to
drop and recreate the table with the desired definition instead of doing
ALTER TABLE ... ADD/DROP COLUMN. This is required to ensure consistent
attribute numbers across versions.
This workflow detects this and some other incorrect catalog table
modifications and fails with an error in that case.

Fixes #6049
2023-10-02 12:15:59 +03:00