File tree Expand file tree Collapse file tree 3 files changed +34
-34
lines changed Expand file tree Collapse file tree 3 files changed +34
-34
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "version" : " 1" ,
3
+ "packages" : [
4
+ {
5
+ "path" : " ondeck" ,
6
+ "schema" : " ondeck/schema" ,
7
+ "queries" : " ondeck/query" ,
8
+ "engine" : " postgresql" ,
9
+ "emit_json_tags" : true ,
10
+ "emit_prepared_queries" : true
11
+ },
12
+ {
13
+ "path" : " jets" ,
14
+ "schema" : " jets/schema.sql" ,
15
+ "queries" : " jets/query-building.sql" ,
16
+ "engine" : " postgresql"
17
+ },
18
+ {
19
+ "name" : " booktest" ,
20
+ "path" : " booktest/postgresql" ,
21
+ "schema" : " booktest/postgresql/schema.sql" ,
22
+ "queries" : " booktest/postgresql/query.sql" ,
23
+ "engine" : " postgresql"
24
+ },
25
+ {
26
+ "name" : " booktest" ,
27
+ "path" : " booktest/mysql" ,
28
+ "schema" : " booktest/mysql/schema.sql" ,
29
+ "queries" : " booktest/mysql/query.sql" ,
30
+ "engine" : " mysql"
31
+ }
32
+ ]
33
+ }
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import (
15
15
16
16
func TestCodeGeneration (t * testing.T ) {
17
17
// Change to the top-level directory of the project
18
- os .Chdir (filepath .Join (".." , ".." ))
18
+ os .Chdir (filepath .Join (".." , ".." , "examples" ))
19
19
20
20
rd , err := os .Open ("sqlc.json" )
21
21
if err != nil {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments