Skip to main content
Solved

2023.1 - Checks issue


Freddy
Forum|alt.badge.img+16
  • Thinkwise Local Partner Brasil
  • 536 replies

Hi. 

Where does the part of the deployment gets build up?

alter table "process_task_dependency"
add constraint "c_process_task_dependency_connection_type" check ("connection_type" in (-1, 0, 1))

I have a domain connection_type that is used in 2 tables..  for some reason one table doesn't propagate the latest element in its check construction. There is a value 2 now as well. One table is going correct. The one shown here not. 

Best answer by Mark Jongeling

It happens when Columns are copied using the Copy column task. This task does copy all properties and child-objects. Any generated objects are thereafter made non-generated. We shortly addressed this behavior here: 

 

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

3 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Freddy,

From the top of my head that is during the Generate definition process. There should be a Dynamic model control procedure that creates the check constraints. 


Freddy
Forum|alt.badge.img+16
  • Author
  • Thinkwise Local Partner Brasil
  • 536 replies
  • February 5, 2023
Mark Jongeling wrote:

Hi Freddy,

From the top of my head that is during the Generate definition process. There should be a Dynamic model control procedure that creates the check constraints. 

generated check constraints get copied but without the generated_by_control_proc_id, maybe that should not be done by default. Had to delete the constraint and then it generates the new constraint based on the domain info. 


Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3959 replies
  • Answer
  • February 6, 2023

It happens when Columns are copied using the Copy column task. This task does copy all properties and child-objects. Any generated objects are thereafter made non-generated. We shortly addressed this behavior here: 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings