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="ACT_ID_MEMBERSHIP"> 
			<column name="GROUP_ID_" type="varchar(64)" >
				<constraints nullable="false"/></column>	 	
			<column name="USER_ID_" type="varchar(64)" >
				<constraints nullable="false"/></column>
		</createTable> 
	</changeSet>	
	<changeSet author="amathe" id="PK">
		<addPrimaryKey tableName="ACT_ID_MEMBERSHIP" constraintName="PK_ACT_ID_MEMBERSHIP" columnNames="GROUP_ID_, USER_ID_" />   
	</changeSet>
	
</databaseChangeLog>	
New to GrepCode? Check out our FAQ X