liquibase.queue.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2023. Ned Wolpert
~
~ 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:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
<changeSet id="2023-11-07-01" author="wolpert">
<createTable tableName="QUEUE">
<column name="HASH" type="bigint">
<constraints primaryKey="true" nullable="false"/>
</column>
<column name="TIMESTAMP" type="bigint">
<constraints primaryKey="false" nullable="false"/>
</column>
<column name="MESSAGE_TYPE" type="varchar(256)">
<constraints primaryKey="false" nullable="false"/>
</column>
<column name="PAYLOAD" type="varchar(4096)">
<constraints primaryKey="false" nullable="false"/>
</column>
<column name="STATE" type="varchar(32)">
<constraints primaryKey="false" nullable="false"/>
</column>
</createTable>
<createIndex tableName="QUEUE" indexName="QUEUE_STATE_IDX" unique="false">
<column name="STATE"/>
</createIndex>
</changeSet>
</databaseChangeLog> © 2015 - 2025 Weber Informatics LLC | Privacy Policy