Skip to content

Commit

Permalink
update genddl that merged features for views
Browse files Browse the repository at this point in the history
  • Loading branch information
mackee committed Oct 5, 2023
1 parent e0f4266 commit ee589a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _example/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion _example/user_withmysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ee589a2

Please sign in to comment.