-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
14 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/liquibase/harness/change/expectedSql/mariadb/addDefaultValueBoolean.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
ALTER TABLE lbcat.authors ADD booleanColumn TINYINT NULL | ||
ALTER TABLE lbcat.authors ADD booleanColumn TINYINT(1) NULL | ||
ALTER TABLE lbcat.authors ALTER booleanColumn SET DEFAULT 1 |
6 changes: 3 additions & 3 deletions
6
...resources/liquibase/harness/change/expectedSql/mariadb/addNotNullConstraintBitBoolean.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
CREATE TABLE lbcat.test_table (id INT NULL, bit_col BIT(1) NULL, boolean_col TINYINT NULL) | ||
INSERT INTO lbcat.test_table (id) VALUES (1) | ||
CREATE TABLE lbcat.test_table (id INT NULL, bit_col BIT(1) NULL, boolean_col TINYINT(1) NULL) | ||
INSERT INTO lbcat.test_table (id) VALUES (1) | ||
UPDATE lbcat.test_table SET bit_col = 1 WHERE bit_col IS NULL | ||
ALTER TABLE lbcat.test_table MODIFY bit_col BIT(1) NOT NULL | ||
UPDATE lbcat.test_table SET boolean_col = 1 WHERE boolean_col IS NULL | ||
ALTER TABLE lbcat.test_table MODIFY boolean_col TINYINT NOT NULL | ||
ALTER TABLE lbcat.test_table MODIFY boolean_col TINYINT(1) NOT NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters