mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
30 lines
1.2 KiB
XML
30 lines
1.2 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 id="add-unread-count-settings" author="athou">
|
|
<validCheckSum>9:b4a4044ca0f7d9987536083943d4f1b4</validCheckSum>
|
|
<addColumn tableName="USERSETTINGS">
|
|
<column name="unreadCountTitle" type="BOOLEAN" valueBoolean="false">
|
|
<constraints nullable="false" />
|
|
</column>
|
|
<column name="unreadCountFavicon" type="BOOLEAN" valueBoolean="true">
|
|
<constraints nullable="false" />
|
|
</column>
|
|
</addColumn>
|
|
</changeSet>
|
|
|
|
<changeSet id="add-missing-fk-on-statuses-user" author="athou">
|
|
<delete tableName="FEEDENTRYSTATUSES">
|
|
<where>user_id not in (select id from USERS)</where>
|
|
</delete>
|
|
<addForeignKeyConstraint baseTableName="FEEDENTRYSTATUSES"
|
|
baseColumnNames="user_id"
|
|
constraintName="fk_feedentrystatuses_user"
|
|
referencedTableName="USERS"
|
|
referencedColumnNames="id" />
|
|
</changeSet>
|
|
|
|
</databaseChangeLog>
|