From a56f7cf5eb99e72ccdb570f4da949a6410f1ed97 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 6 Jul 2021 13:15:56 +0800 Subject: [PATCH] Fix postgres --- dialects/postgres.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dialects/postgres.go b/dialects/postgres.go index e4641509..a2611c60 100644 --- a/dialects/postgres.go +++ b/dialects/postgres.go @@ -1302,6 +1302,12 @@ type pqDriver struct { baseDriver } +func (b *pqDriver) Features() DriverFeatures { + return DriverFeatures{ + SupportNullable: false, + } +} + type values map[string]string func (vs values) Set(k, v string) {