Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Created February 21, 2019 04:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goyalmohit/242b8cb3772ef33130e7058ba31c61d9 to your computer and use it in GitHub Desktop.
Save goyalmohit/242b8cb3772ef33130e7058ba31c61d9 to your computer and use it in GitHub Desktop.
liquibase changelog sample in xml format
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="mohitgoyal" id="20190221092200">
<createTable tableName="dbo.CustomerDetails">
<column name="CustomerTypeID" type="nchar(10)"/>
<column name="CustomerDesc" type="nvarchar (max) (16)"/>
</createTable>
</changeSet>
</databaseChangeLog>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment