Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd">

	<changeSet author="amathe" id="TBL">
		<createTable tableName="AD_USR_ROLE">
			<column name="ROLES_ID" type="number(19)" >
				<constraints nullable="false"/></column>
			<column name="USERS_ID" type="number(19)" >
				<constraints nullable="false"/></column>
		</createTable>
	</changeSet>

	<changeSet author="amathe" id="PK">
		<addPrimaryKey tableName="AD_USR_ROLE" constraintName="PK_AD_USR_ROLE" columnNames="ROLES_ID, USERS_ID" />
	</changeSet>
</databaseChangeLog>
New to GrepCode? Check out our FAQ X