Browse Source

tinyint with display width 1 does not map to boolean, see: #526

Maurits van der Schee 5 years ago
parent
commit
d24087e0e8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tests/fixtures/blog_mysql.sql

+ 1
- 1
tests/fixtures/blog_mysql.sql View File

@@ -75,7 +75,7 @@ DROP TABLE IF EXISTS `tags`;
75 75
 CREATE TABLE `tags` (
76 76
   `id` int(11) NOT NULL AUTO_INCREMENT,
77 77
   `name` varchar(255) NOT NULL,
78
-  `is_important` tinyint(1) NOT NULL,
78
+  `is_important` bit(1) NOT NULL,
79 79
   PRIMARY KEY (`id`)
80 80
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
81 81
 

Loading…
Cancel
Save