Skip to content

Commit 00f0a4d

Browse files
committed
chore: mark series_comments.comment field as NOT NULL
Should be in 899ff5e commit. Part of #1505
1 parent 9a378b8 commit 00f0a4d

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

Diff for: src/main/resources/liquibase/version/0.4.6.xml

+1
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.6/2021-01-30--series_comments.xml" relativeToChangelogFile="true" />
9+
<include file="0.4.6/2021-01-31--make-comment-field-non-nullable.xml" relativeToChangelogFile="true" />
910

1011
</databaseChangeLog>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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-3.9.xsd">
7+
8+
<changeSet id="make-series_comments-comment-non_nullable" author="php-coder" context="scheme">
9+
10+
<addNotNullConstraint
11+
tableName="series_comments"
12+
columnName="comment"
13+
columnDataType="VARCHAR(1024)"/>
14+
15+
</changeSet>
16+
17+
</databaseChangeLog>

0 commit comments

Comments
 (0)