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
A lot of Flyway incremental scripts have DDL/DML that is either:
not foolproof
not fast by using slow-by-slow code
verbose (rename SYS constraint to a real name)
fail when the object to be changed is locked (ORA-00054)
The idea is to create a package that:
allows a nested table of SQL error codes to ignore (nested table supports "member of")
check that SQL starts with INSERT|UPDATE|DELETE and not a PL/SQL block (can be overridden though)
introduce procedures for common operations like (create|rename|drop) column(s) or (create|rename|drop) constraint(s) with all the SQL error codes to ignore
use DDL_LOCK_TIMEOUT (e.g. alter session set ddl_lock_timeout=30) for the operation
The text was updated successfully, but these errors were encountered:
A lot of Flyway incremental scripts have DDL/DML that is either:
The idea is to create a package that:
The text was updated successfully, but these errors were encountered: