From 7c8ddeee3da3065b6a70340fab6e81bf6cae2392 Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Wed, 6 Jul 2022 13:58:11 +0800 Subject: [PATCH] Fix tests --- ddlmod_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddlmod_test.go b/ddlmod_test.go index 4e53013..5e7a840 100644 --- a/ddlmod_test.go +++ b/ddlmod_test.go @@ -55,7 +55,7 @@ func TestParseDDL(t *testing.T) { DataTypeValue: sql.NullString{String: "int", Valid: true}, ColumnTypeValue: sql.NullString{String: "int", Valid: true}, NullableValue: sql.NullBool{Bool: false, Valid: true}, - DefaultValueValue: sql.NullString{Valid: true}, + DefaultValueValue: sql.NullString{Valid: false}, UniqueValue: sql.NullBool{Valid: true}, PrimaryKeyValue: sql.NullBool{Valid: true}, },