Getting an error trying to restart airbyte ```ERRO...
# replication-ask-ai
c
Getting an error trying to restart airbyte
Copy code
ERROR: null value in column "support_level" of relation "actor_definition_version" violates not-null constraint
c
This may be related to a schema migration, did you update your airbyte version recently?
c
Might have been related to an upgrade to 50.28 that was reverted to 50.21?
c
yeah. Unfortunately I don’t know if there is an easy way out of this, we don’t support downs in our schema migrations due to licensing issues with Flyway
the only way I know how to do this is via manually running schema commands that undo the ups, which aren’t really specified so would have to look at what ups ran and reverse engineer the downs from that
The only safe way to try to undo the migration would be to create an isolated backup of airbyte’s postgres instance, run the sql to undo the changes (you would have to go look at the migrations to see what got applied) and try to run 0.50.21 against it afterward. If that worked after some testing you could do the same on your production db