File tree 4 files changed +4
-7
lines changed
4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ sqlc-gen-json:
33
33
go build -o ~ /bin/sqlc-gen-json ./cmd/sqlc-gen-json
34
34
35
35
start :
36
- docker- compose up -d
36
+ docker compose up -d
37
37
38
38
fmt :
39
39
go fmt ./...
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
6
6
- " 3306:3306"
7
7
restart : always
8
8
environment :
9
- MYSQL_DATABASE : mysql
9
+ MYSQL_DATABASE : dinotest
10
10
MYSQL_ROOT_PASSWORD : mysecretpassword
11
11
MYSQL_ROOT_HOST : ' %'
12
12
@@ -16,7 +16,7 @@ services:
16
16
- " 3305:3306"
17
17
restart : always
18
18
environment :
19
- MYSQL_DATABASE : mysql
19
+ MYSQL_DATABASE : dinotest
20
20
MYSQL_ROOT_PASSWORD : mysecretpassword
21
21
MYSQL_ROOT_HOST : ' %'
22
22
profiles :
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ These tests require locally-running database instances. Run these databases
24
24
using [ Docker Compose] ( https://docs.docker.com/compose/ ) .
25
25
26
26
```
27
- docker- compose up -d
27
+ docker compose up -d
28
28
```
29
29
30
30
The tests use the following environment variables to connect to the
Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ github.com/jackc/pgx/v5 v5.4.3/go.mod h1:Ig06C2Vu0t5qXC60W8sqIthScaEnFvojjj9dSlj
100
100
github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b /go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk =
101
101
github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9 /go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk =
102
102
github.com/jackc/puddle v1.1.3 /go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk =
103
- github.com/jackc/puddle v1.3.0 h1:eHK/5clGOatcjX3oWGBO/MpxpbHzSwud5EWTSCI+MX0 =
104
103
github.com/jackc/puddle v1.3.0 /go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk =
105
104
github.com/jackc/puddle/v2 v2.2.1 h1:RhxXJtFG022u4ibrCSMSiu5aOq1i77R3OHKNJj77OAk =
106
105
github.com/jackc/puddle/v2 v2.2.1 /go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4 =
@@ -140,8 +139,6 @@ github.com/pingcap/failpoint v0.0.0-20220801062533-2eaa32854a6c h1:CgbKAHto5CQgW
140
139
github.com/pingcap/failpoint v0.0.0-20220801062533-2eaa32854a6c /go.mod h1:4qGtCB0QK0wBzKtFEGDhxXnSnbQApw1gc9siScUl8ew =
141
140
github.com/pingcap/log v1.1.0 h1:ELiPxACz7vdo1qAvvaWJg1NrYFoY6gqAh/+Uo6aXdD8 =
142
141
github.com/pingcap/log v1.1.0 /go.mod h1:DWQW5jICDR7UJh4HtxXSM20Churx4CQL0fwL/SoOSA4 =
143
- github.com/pingcap/tidb/parser v0.0.0-20230815160630-b69fa21942d1 h1:FvX5fDJ32eblK9f6KJIOVujjtu3FDEfcRGHsEDfJ4kI =
144
- github.com/pingcap/tidb/parser v0.0.0-20230815160630-b69fa21942d1 /go.mod h1:pWA6mNa/o7UTDKrg+4H75NdpRgpWRTox/cqQjaQ4ZBU =
145
142
github.com/pingcap/tidb/parser v0.0.0-20231010133155-38cb4f3312be h1:4HUBkIZs+4j+tbXGm5/B0yjB66OTz218HDKA6VrhO7U =
146
143
github.com/pingcap/tidb/parser v0.0.0-20231010133155-38cb4f3312be /go.mod h1:cwq4bKUlftpWuznB+rqNwbN0xy6/i5SL/nYvEKeJn4s =
147
144
github.com/pkg/errors v0.8.1 /go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0 =
You can’t perform that action at this time.
0 commit comments