Omit the rest of the table rename cases related to the table when the answer is yes
#832
sumitsharansatsangi
started this conversation in
Ideas
Replies: 1 comment 4 replies
|
@sumitsharansatsangi Interesting - thanks for reporting this. I'll create a demo project and give it a go. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Lets assume we have Four tables as Follows :
TableA, TableB, TableC and TableDNow, due to some reason , they have to rename the tables as Follows:
RTableA, RTableB, RTableC and RTableDNow, During migrations piccolo asks 16 questions .
But the number of question can be minimized to any number between 4 -16 , by simply omitting the question when the answer is yes.
Like as Follows:-
Did you rename TableB (tablename: table_b) to RTableA (tablename: r_table_a)? (y/N)The answer is
N.Now. Piccolo asks follows:
Did you rename TableA (tablename: table_a) to RTableA (tablename: r_table_a)? (y/N)The answer is 'y'.
When the answer is 'y' for the table
RTableA, piccolo should stop asking the following question, because answering the following question is unnecessary and illogical.Did you rename TableC (tablename: table_c) to RTableA (tablename: r_table_a)? (y/N)Did you rename TableD (tablename: table_d) to RTableA (tablename: r_table_a)? (y/N)All reactions