Skip to content

Commit 29183a2

Browse files
committed
test: add test cases for boolean columns
1 parent e17374d commit 29183a2

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

internal/endtoend/testdata/emit_pointers_for_null_types/mysql/go/models.go

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CREATE table dt_boolean (
2+
a boolean,
3+
b bool,
4+
c tinyint(1)
5+
);
6+
7+
CREATE table dt_boolean_not_null (
8+
a boolean not null,
9+
b bool not null,
10+
c tinyint(1) not null
11+
);

0 commit comments

Comments
 (0)