mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
53 lines
1.9 KiB
XML
53 lines
1.9 KiB
XML
<?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 https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
|
|
|
|
<changeSet author="athou" id="scroll-speed">
|
|
<addColumn tableName="USERSETTINGS">
|
|
<column name="scroll_speed" type="BIGINT" />
|
|
</addColumn>
|
|
</changeSet>
|
|
<changeSet author="athou" id="set-default-scroll-speed">
|
|
<update tableName="USERSETTINGS">
|
|
<column name="scroll_speed" valueNumeric="400" />
|
|
</update>
|
|
</changeSet>
|
|
|
|
<changeSet author="athou" id="create-tags-table">
|
|
<validCheckSum>7:fdd37bdee09c8fbbcbcd867b05decaae</validCheckSum>
|
|
<createTable tableName="FEEDENTRYTAGS">
|
|
<column name="id" type="BIGINT">
|
|
<constraints nullable="false" primaryKey="true" />
|
|
</column>
|
|
<column name="entry_id" type="BIGINT">
|
|
<constraints nullable="false" />
|
|
</column>
|
|
<column name="user_id" type="BIGINT">
|
|
<constraints nullable="false" />
|
|
</column>
|
|
<column name="name" type="VARCHAR(40)">
|
|
<constraints nullable="false" />
|
|
</column>
|
|
</createTable>
|
|
|
|
<addForeignKeyConstraint constraintName="fk_entry_id" baseTableName="FEEDENTRYTAGS" baseColumnNames="entry_id"
|
|
referencedTableName="FEEDENTRIES" referencedColumnNames="id" />
|
|
<addForeignKeyConstraint constraintName="fk_user_id" baseTableName="FEEDENTRYTAGS" baseColumnNames="user_id"
|
|
referencedTableName="USERS" referencedColumnNames="id" />
|
|
|
|
<createIndex tableName="FEEDENTRYTAGS" indexName="user_entry_name_index">
|
|
<column name="user_id" />
|
|
<column name="entry_id" />
|
|
<column name="name" />
|
|
</createIndex>
|
|
</changeSet>
|
|
|
|
<changeSet author="athou" id="add-full-refresh-timestamp">
|
|
<addColumn tableName="USERS">
|
|
<column name="last_full_refresh" type="DATETIME" />
|
|
</addColumn>
|
|
</changeSet>
|
|
|
|
</databaseChangeLog>
|