All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.flowable.content.db.liquibase.flowable-content-db-changelog.xml Maven / Gradle / Ivy

There is a newer version: 6.8.1
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
	xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd
        http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">

	<changeSet id="1" author="activiti">
    
        <createTable tableName="ACT_CO_CONTENT_ITEM">
            <column name="ID_" type="varchar(255)">
                <constraints primaryKey="true" nullable="false" />
            </column>
            <column name="NAME_" type="varchar(255)">
                <constraints nullable="false" />
            </column>
            <column name="MIME_TYPE_" type="varchar(255)">
                <constraints nullable="true" />
            </column>
            <column name="TASK_ID_" type="varchar(255)">
                <constraints nullable="true"/>
            </column>
            <column name="PROC_INST_ID_" type="varchar(255)">
                <constraints nullable="true"/>
            </column>
            <column name="CONTENT_STORE_ID_" type="varchar(255)">
                <constraints nullable="true" />
            </column>
            <column name="CONTENT_STORE_NAME_" type="varchar(255)">
                <constraints nullable="true" />
            </column>
            <column name="FIELD_" type="varchar(400)">
                <constraints nullable="true" />
            </column>
           	<column name="CONTENT_AVAILABLE_" type="boolean" defaultValueBoolean="false" />
            <column name="CREATED_" type="timestamp(6)" />
            <column name="CREATED_BY_" type="varchar(255)" />
            <column name="LAST_MODIFIED_" type="timestamp(6)" />
            <column name="LAST_MODIFIED_BY_" type="varchar(255)" />
            <column name="CONTENT_SIZE_" type="bigint" defaultValueNumeric="0" />
            <column name="TENANT_ID_" type="varchar(255)" />
        </createTable>
            
        <createIndex tableName="ACT_CO_CONTENT_ITEM" indexName="idx_contitem_taskid">
            <column name="TASK_ID_" />
        </createIndex>
        <createIndex tableName="ACT_CO_CONTENT_ITEM" indexName="idx_contitem_procid">
            <column name="PROC_INST_ID_" />
        </createIndex>
			
	</changeSet>

</databaseChangeLog>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy