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. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Lets assume we have Four tables as Follows :
TableA, TableB, TableC and TableD
Now, due to some reason , they have to rename the tables as Follows:
RTableA, RTableB, RTableC and RTableD
Now, 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)
Beta Was this translation helpful? Give feedback.
All reactions