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
As a user of lino command, I want to disable foreign key constraints on a given table or ingress-descriptor, without re-enabling immediately. I want to be able to enable disabled contraints later.
Solution
The new command lino constraint will handle listing/enabling/disabling of foreign key contraints.
List constraints on foreign key pointing to <table_name>
$ lino constraints list --table <table_name>{"table": "ACTION", "constraint_name": "FK_ACTION_01"}
List constraints on foreign key pointing to any table in the ingress-descriptor
$ lino constraints list --i <ingress-descriptor-name>{"table": "ACTION", "constraint_name": "FK_ACTION_01"}
constraints are listed in the order they need to be enabled
List and disable constraints on foreign key pointing to <table_name>
Problem
As a user of lino command, I want to disable foreign key constraints on a given table or ingress-descriptor, without re-enabling immediately. I want to be able to enable disabled contraints later.
Solution
The new command
lino constraint
will handle listing/enabling/disabling of foreign key contraints.List constraints on foreign key pointing to <table_name>
List constraints on foreign key pointing to any table in the ingress-descriptor
List and disable constraints on foreign key pointing to <table_name>
List and disable constraints on foreign key pointing to any table in the ingress-descriptor
Enable constraints previously disabled
The text was updated successfully, but these errors were encountered: