@@ -197,55 +197,4 @@ Read-Host "Press Enter to execute flyway check -drift -code -dryrun -environment
197197
198198flyway check - drift - code - dryrun - environment= $test " -check.code.failOnError=false" " -check.failOnDrift=false" " -check.deployedSnapshot=snapshothistory:current"
199199
200-
201- # # Variables to be changed by user
202- # $configFiles = "C:\WorkingFolders\FWD\NewWorldDB\flyway.toml,C:\WorkingFolders\FWD\NewWorldDB\flyway.user.toml"
203- # $workingDirectory = "C:\WorkingFolders\FWD\NewWorldDB"
204-
205-
206-
207- # # generic deployment
208- # Read-Host "Press Enter to run migrate command"
209- # flyway migrate -configFiles="$configFiles" -workingDirectory="$workingDirectory" -environment=$environment
210-
211- # # ================================================================================
212-
213- # # create snapshot after changes
214- # Read-Host "Press Enter to run snapshot command"
215- # flyway snapshot -environment=$environment -filename=snapshothistory:current -configFiles="$configFiles" -workingDirectory="$workingDirectory"
216-
217- # # ================================================================================
218-
219- # # undo back to a specific target number
220- # Read-Host "Press Enter to run undo command"
221- # flyway undo -configFiles="$configFiles" -workingDirectory="$workingDirectory" -environment=$environment -target=$target
222-
223- # # ================================================================================
224-
225- # # cherryPick forward
226- # Read-Host "Press Enter to run cherry-pick migrate command"
227- # flyway migrate -configFiles="$configFiles" -workingDirectory="$workingDirectory" -environment=$environment -cherryPick=$cherryPick
228-
229- # # ================================================================================
230-
231- # # drift and code analysis report with snapshots
232-
233- # # run drift and code analysis (TO SEE DRIFT ALTER TARGET DB OUTSIDE OF FLYWAY)
234- # # check can be configured to fail on drift or code analysis triggering
235- # # it's possible to capture changes as well, but it is a duplication of what's stored in schema model and requires an extra database to deploy to in a CI fashion
236- # Read-Host "Press Enter to run drift check command"
237- # flyway check -drift -code -dryrun -environment=$environment -check.code.failOnError=false -check.failOnDrift=false -check.deployedSnapshot=snapshothistory:current -configFiles="$configFiles" -workingDirectory="$workingDirectory"
238-
239- # # ================================================================================
240-
241- # # generic deployment
242- # Read-Host "Press Enter to run migrate command"
243- # flyway migrate -configFiles="$configFiles" -workingDirectory="$workingDirectory" -environment=$environment
244-
245- # # ================================================================================
246-
247- # # create snapshot after changes
248- # Read-Host "Press Enter to run snapshot command"
249- # flyway snapshot -environment=$environment -filename=snapshothistory:current -configFiles="$configFiles" -workingDirectory="$workingDirectory"
250-
251200Set-Location ..
0 commit comments