From ee589a2f8ed9573ee6dae4b8617afc6ffe9b20ae Mon Sep 17 00:00:00 2001 From: mackee Date: Thu, 5 Oct 2023 22:50:38 +0900 Subject: [PATCH] update genddl that merged features for views --- _example/user.go | 2 +- _example/user_withmysql_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_example/user.go b/_example/user.go index 97f2b6c..afdf754 100644 --- a/_example/user.go +++ b/_example/user.go @@ -9,7 +9,7 @@ import ( ) //go:generate go run ../cmd/sqlla/main.go -//go:generate go run github.com/mackee/go-genddl/cmd/genddl@41aa2f4 -outpath=./sqlite3.sql -driver=sqlite3 +//go:generate go run github.com/mackee/go-genddl/cmd/genddl@5800fb3 -outpath=./sqlite3.sql -driver=sqlite3 type UserId uint64 diff --git a/_example/user_withmysql_test.go b/_example/user_withmysql_test.go index 223bd8c..3453513 100644 --- a/_example/user_withmysql_test.go +++ b/_example/user_withmysql_test.go @@ -23,7 +23,7 @@ import ( var db *sql.DB -//go:generate go run github.com/mackee/go-genddl/cmd/genddl@41aa2f4 -outpath=./mysql.sql -driver=mysql +//go:generate go run github.com/mackee/go-genddl/cmd/genddl@5800fb3 -outpath=./mysql.sql -driver=mysql func TestMain(m *testing.M) { // uses a sensible default on windows (tcp/http) and linux/osx (socket)