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

com.foreach.across.modules.properties.installers.PropertyTrackingSchemaInstaller.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright 2014 the original author or authors

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
<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-3.1.xsd">


	<changeSet id="201407290939" author="arne" runAlways="true" dbms="oracle">
		<sql>
			ALTER session SET nls_length_semantics=CHAR;
		</sql>
	</changeSet>

	<changeSet id="201407290940B" author="arne">
		<preConditions onFail="MARK_RAN">
			<not>
				<tableExists tableName="across_property_tracking"/>
			</not>
		</preConditions>
		<createTable tableName="across_property_tracking">
			<column name="uuid" type="java.sql.Types.CHAR(36)">
				<constraints nullable="false" primaryKey="true"/>
			</column>
			<column name="hash_code" type="java.sql.Types.CHAR(32)">
				<constraints nullable="false"/>
			</column>
			<column name="module" type="java.sql.Types.VARCHAR(255)"/>
			<column name="properties_id" type="java.sql.Types.VARCHAR(250)"/>
			<column name="database_table" type="java.sql.types.VARCHAR(255)"/>
			<column name="property_name" type="java.sql.Types.VARCHAR(250)"/>
			<column name="first_registration" type="java.sql.Types.TIMESTAMP"/>
			<column name="last_registration" type="java.sql.Types.TIMESTAMP"/>
		</createTable>
		<createIndex tableName="across_property_tracking" indexName="across_pt_hash">
			<column name="hash_code"/>
		</createIndex>
	</changeSet>

</databaseChangeLog>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy