Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Liquibase update or liquibase migrate?

Tags:

liquibase

What is the difference b/t liquibase ... migrate and liquibase ... update ?

I cannot find any documentation on the migrate command at http://www.liquibase.org/documentation/command_line.html

like image 288
Eric Francis Avatar asked May 01 '17 18:05

Eric Francis


1 Answers

migrate is a simply an (undocumented) alias for update:

687 if (this.command.equalsIgnoreCase("migrate")) {
688     this.command = "update";
689 }

liquibase.integration.commandline.Main

like image 58
zeppelin Avatar answered Oct 10 '22 18:10

zeppelin