mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
position is now always set (#1076)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?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 http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
|
||||
|
||||
|
||||
<changeSet id="position-required" author="athou">
|
||||
<update tableName="FEEDCATEGORIES">
|
||||
<column name="position" valueNumeric="0" />
|
||||
<where>position is null</where>
|
||||
</update>
|
||||
<addNotNullConstraint tableName="FEEDCATEGORIES" columnName="position" columnDataType="int" />
|
||||
|
||||
<update tableName="FEEDSUBSCRIPTIONS">
|
||||
<column name="position" valueNumeric="0" />
|
||||
<where>position is null</where>
|
||||
</update>
|
||||
<addNotNullConstraint tableName="FEEDSUBSCRIPTIONS" columnName="position" columnDataType="int" />
|
||||
</changeSet>
|
||||
|
||||
</databaseChangeLog>
|
||||
@@ -19,5 +19,6 @@
|
||||
<include file="changelogs/db.changelog-2.6.xml" />
|
||||
<include file="changelogs/db.changelog-3.2.xml" />
|
||||
<include file="changelogs/db.changelog-3.5.xml" />
|
||||
<include file="changelogs/db.changelog-3.6.xml" />
|
||||
|
||||
</databaseChangeLog>
|
||||
Reference in New Issue
Block a user