Skip to content

Commit 8d76fa5

Browse files
committed
task: mark series.perforated field as nullable
Part of #1550
1 parent 9189bf7 commit 8d76fa5

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

src/main/resources/liquibase/version/0.4.7.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.9.xsd">
77

88
<include file="0.4.7/2021-07-18--series_import_parsed_image_urls.xml" relativeToChangelogFile="true" />
9+
<include file="0.4.7/2021-11-28--series_and_nullable_perforated_field.xml" relativeToChangelogFile="true" />
910

1011
</databaseChangeLog>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<databaseChangeLog
3+
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
6+
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.3.xsd">
7+
8+
<changeSet id="make-series-perforated-field-nullable" author="php-coder" context="scheme">
9+
10+
<dropNotNullConstraint
11+
tableName="series"
12+
columnName="perforated"
13+
columnDataType="BOOLEAN"
14+
/>
15+
16+
<setColumnRemarks
17+
tableName="series"
18+
columnName="perforated"
19+
columnDataType="BOOLEAN"
20+
remarks="NULL means a series contains both types of stamps: perforated and imperforated"
21+
/>
22+
23+
</changeSet>
24+
25+
</databaseChangeLog>

0 commit comments

Comments
 (0)