Skip to content

Commit d24087e

Browse files
committed
tinyint with display width 1 does not map to boolean, see: #526
1 parent 2092fa3 commit d24087e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/fixtures/blog_mysql.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ DROP TABLE IF EXISTS `tags`;
7575
CREATE TABLE `tags` (
7676
`id` int(11) NOT NULL AUTO_INCREMENT,
7777
`name` varchar(255) NOT NULL,
78-
`is_important` tinyint(1) NOT NULL,
78+
`is_important` bit(1) NOT NULL,
7979
PRIMARY KEY (`id`)
8080
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
8181

0 commit comments

Comments
 (0)