![JAR search and dependency download from the Maven repository](/logo.png)
sql.db_migrations.xml Maven / Gradle / Ivy
The newest version!
<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 context="setup" author="ict4h" id="100"> <createTable tableName="markers" schemaName="${schemaName}"> <column name="feed_uri" type="varchar(255)"> <constraints nullable="false" primaryKey="true"/> </column> <column name="last_read_entry_id" type="varchar(255)"/> <column name="feed_uri_for_last_read_entry" type="varchar(255)"/> </createTable> <createTable tableName="failed_events" schemaName="${schemaName}"> <column name="id" type="serial"> <constraints nullable="false" primaryKey="true"/> </column> <column name="feed_uri" type="varchar(255)"/> <column name="failed_at" type="timestamp"/> <!-- TODO: change to CLOB --> <column name="error_message" type="varchar(4000)"/> <column name="event_id" type="varchar(255)"/> <!-- TODO: change to CLOB --> <column name="event_content" type="varchar(4000)"/> <column name="error_hash_code" type="int"/> </createTable> </changeSet> <changeSet id="101" author="ict4h" context="setup"> <addColumn tableName="failed_events" schemaName="${schemaName}"> <column name="title" type="varchar(255)"></column> </addColumn> </changeSet> <changeSet id="102-1" author="Jaswanth"> <preConditions onFail="MARK_RAN"> <not> <columnExists tableName="failed_events" columnName="retries" schemaName="${schemaName}"/> </not> </preConditions> <addColumn tableName="failed_events" schemaName="${schemaName}" > <column name="retries" type="int" defaultValueNumeric="0"> <constraints nullable="false"/> </column> </addColumn> </changeSet> <changeSet id="102-2" author="Jaswanth"> <preConditions onFail="MARK_RAN"> <not> <tableExists tableName="failed_event_retry_log" schemaName="${schemaName}"/> </not> </preConditions> <createTable tableName="failed_event_retry_log" schemaName="${schemaName}"> <column name="id" type="serial"> <constraints nullable="false" primaryKey="true"/> </column> <column name="feed_uri" type="varchar(255)"/> <column name="failed_at" type="timestamp"/> <column name="error_message" type="varchar(4000)"/> <column name="event_id" type="varchar(255)"/> <column name="event_content" type="varchar(4000)"/> <column name="error_hash_code" type="int"/> </createTable> </changeSet> <changeSet id="103" context="setup" author="angshu, dubey"> <preConditions onFail="MARK_RAN"> <not> <columnExists columnName="tags" tableName="failed_events" schemaName="${schemaName}"/> </not> </preConditions> <comment>Creating column tags for failed_events table. This is same as atom spec feed.entry.categories.</comment> <addColumn tableName="failed_events" schemaName="${schemaName}"> <column name="tags" type="varchar(255)"></column> </addColumn> </changeSet> </databaseChangeLog>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy