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_HI_TASKINST">
		<column name="ASSIGNEE_" type="varchar(32)" />
		<column name="DELETE_REASON_" type="varchar(255)" />
		<column name="DESCRIPTION_" type="text" />
		<column name="DUE_DATE_" type="datetime" />
		<column name="DURATION_" type="bigint(19)" />
		<column name="END_TIME_" type="datetime" />
		<column name="EXECUTION_ID_" type="varchar(255)" />
		<column name="ID_" type="varchar(64)">
			<constraints nullable="false" /></column>
		<column name="NAME_" type="varchar(255)" />
		<column name="OWNER_" type="varchar(32)" />
		<column name="PRIORITY_" type="bigint(19)" />
		<column name="PROC_INST_ID_" type="varchar(64)" />
		<column name="START_TIME_" type="datetime">
			<constraints nullable="false" /></column>
		<column name="TASK_DEF_KEY_" type="varchar(255)" />
		<column name="PARENT_TASK_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_HI_TASKINST" constraintName="PK_ACT_HI_TASKINST" columnNames="ID_" />
    </changeSet>

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