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_RU_EXECUTION">
		<column name="ACT_ID_" type="varchar(255)" />
		<column name="BUSINESS_KEY_" type="varchar(255)" />
		<column name="ID_" type="varchar(64)">
			<constraints nullable="false" /></column>
		<column name="IS_ACTIVE_" type="int(1)" />
		<column name="IS_CONCURRENT_" type="int(1)" />
		<column name="IS_EVENT_SCOPE_" type="int(1)" />
		<column name="IS_SCOPE_" type="int(1)" />
		<column name="PROC_INST_ID_" type="varchar(255)" />
		<column name="REV_" type="int(8)" />
		<column name="SUPER_EXEC_" type="varchar(255)" />
		<column name="SUSPENSION_STATE_" type="int(10)" />
		<column name="PARENT_ID_" type="varchar(64)">
			<constraints  /></column>
		<column name="PROC_DEF_ID_" type="varchar(64)">
			<constraints  /></column>
        </createTable>
    </changeSet>

    <changeSet author="amathe" id="PK">
    	<addPrimaryKey tableName="ACT_RU_EXECUTION" constraintName="PK_ACT_RU_EXECUTION" columnNames="ID_" />
    </changeSet>

	<changeSet author="amathe" id="SEQ">
		<insert tableName="SEQUENCE">
		    <column name="SEQ_NAME" value="ACT_RU_EXECUTION_SEQ"/>
		    <column name="SEQ_COUNT" valueNumeric="0"/>
		</insert>
	</changeSet>
</databaseChangeLog>
New to GrepCode? Check out our FAQ X