Warning: Undefined array key 1 in /DISK2/WWW/lipensky.cz/tomas/inc/auth.php on line 78 automatizace:liquibase [Tomas Lipensky - vedomostni koutek] Warning: Undefined array key "stylesheets" in /DISK2/WWW/lipensky.cz/tomas/inc/StyleUtils.php on line 102
Warning: Undefined array key -1 in /DISK2/WWW/lipensky.cz/tomas/inc/html.php on line 1458

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
automatizace:liquibase [2023/01/20 14:04]
tomas
automatizace:liquibase [2026/04/02 10:20] (current)
tomas
Line 2: Line 2:
  
 === CMD === === CMD ===
-%%java -jar liquibase.jar --driver com.mysql.jdbc.Driver --classpath=mysql-connector-java-5.1.43-bin.jar --username=USR --password=PWD --url=jdbc://localhost/lb --changeLogFile=xmlsample/changelog.xml update%% ... update operace nad mysql\\ +liquibase --version\\ 
-%%java -jar liquibase.jar --driver oracle.jdbc.driver.OracleDriver --classpath=ojdbc-... --url=jdbc://...1521/xxx --changeLogFile=xmlsample/changelog.xml rollbackCount 1%% ... rollback operace o jeden krok nad Oracle databází\\+liquibase --secure-parsing=false --defaultsFile=liquibase.docker.properties update --changelog-file db.changelog-master.xml\\ 
 + 
 +=== JAVA client === 
 +''%%java -jar liquibase.jar --driver com.mysql.jdbc.Driver --classpath=mysql-connector-java-5.1.43-bin.jar --username=USR --password=PWD --url=jdbc://localhost/lb --changeLogFile=xmlsample/changelog.xml update%%'' ... update operace nad mysql\\ 
 +''%%java -jar liquibase.jar --driver oracle.jdbc.driver.OracleDriver --classpath=ojdbc7.jar  --username=USR --password=PWD --url=jdbc:oracle:thin:@IP:1521/DB --changeLogFile=xmlsample/changelog.xml rollbackCount 1%%'' ... rollback operace o jeden krok nad Oracle databází\\ 
 + 
 +=== ChangeSet format === 
 +<code> 
 +<databaseChangeLog 
 +  xmlns="http://www.liquibase.org/xml/ns/dbchangelog" 
 +  xmlns:xsi="http://www.wš.org/2001XMLSchemaInstance" 
 +  xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" 
 +  xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.wš.org/2001XMLSchemaInstance http://www.liquibase.org/xml/ns/dbchangelog-ext"> 
 +  <include file="db/changeset1.xml"/> 
 +  <include file="db/changeset1.xml"/> 
 +</databaseChangeLog> 
 +</code> 
 + 
 +<code> 
 +<databaseChangeLog 
 +  xmlns="http://www.liquibase.org/xml/ns/dbchangelog" 
 +  xmlns:xsi="http://www.wš.org/2001XMLSchemaInstance" 
 +  xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" 
 +  xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.wš.org/2001XMLSchemaInstance http://www.liquibase.org/xml/ns/dbchangelog-ext"> 
 +  <changeSet id=0 author="tom"> 
 +    <createTable tableName="tabulka1"> 
 +      <column name="id" type="int"> 
 +        <constrains primaryKey="true" nullable="false" /> 
 +      </column> 
 +    </createTable> 
 +  </changeSet> 
 +</databaseChangeLog> 
 +</code>