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="XT_QRTZ_FIRED_TRIGGERS">
		<column name="ENTRY_ID" type="varchar(255)">
			<constraints nullable="false" /></column>
		<column name="FIRED_TIME" type="bigint">
			<constraints nullable="false" /></column>
		<column name="INSTANCE_NAME" type="varchar(255)">
			<constraints nullable="false" /></column>
		<column name="IS_NONCONCURRENT" type="varchar(1)" />
		<column name="JOB_GROUP" type="varchar(255)" />
		<column name="JOB_NAME" type="varchar(255)" />
		<column name="PRIORITY" type="int(8)">
			<constraints nullable="false" /></column>
		<column name="REQUESTS_RECOVERY" type="varchar(1)" />
		<column name="SCHED_NAME" type="varchar(255)">
			<constraints nullable="false" /></column>
		<column name="STATE" type="varchar(255)">
			<constraints nullable="false" /></column>
		<column name="TRIGGER_GROUP" type="varchar(255)">
			<constraints nullable="false" /></column>
		<column name="TRIGGER_NAME" type="varchar(255)">
			<constraints nullable="false" /></column>
        </createTable>
    </changeSet>

    <changeSet author="amathe" id="PK">
    	<addPrimaryKey tableName="XT_QRTZ_FIRED_TRIGGERS" constraintName="PK_XT_QRTZ_FIRED_TRIGGERS" columnNames="SCHED_NAME,ENTRY_ID" />
    </changeSet>

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