Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Available for use in OpenMRS as of 1.7.0 build 13476.

The module liquibase.xml file is the newer alternative to the sqldiff.xml file.

Example metadata/liquibase.xml file:

<?xml version="1.0" encoding="UTF-8"?>

<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
                  http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">

	<!--
		See http://www.liquibase.org/manual/home#available_database_refactorings
		for a list of supported elements and attributes
	-->

	<changeSet id="mymoduleid-2010-05-25-15:50" author="bwolfe">
		<delete tableName="global_property">
			<where>property = 'myproperty'</where>
		</delete>
	</changeSet>

</databaseChangeLog>
  • No labels