문제

Informix - Foreign key constraints are dropped automatically when the reference table is altered.


There are two tables - table_main & table_reference. A column in table_main, say reference_id has foreign key constraint to a table_reference.id. These tables are created using liquibase changesets and the foreign key constraint is successfully created during table creation part. But in future, more changesets are added to table_reference table, that alters the table schema as well. Finally after all changesets are run, when we check the constraints list on table_main, the foreign key constraint is missing. This issue is observed on Informix DB. Any idea on this, folks?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top