mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
29 lines
1.1 KiB
XML
29 lines
1.1 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">
|
|
<addColumn tableName="USERSETTINGS">
|
|
<column name="unreadCountTitle" type="BOOLEAN" value="false">
|
|
<constraints nullable="false" />
|
|
</column>
|
|
<column name="unreadCountFavicon" type="BOOLEAN" value="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>
|