Skip to content

Commit b38d330

Browse files
committed
feat: implement migrate command
1 parent 561fc80 commit b38d330

File tree

6 files changed

+1903
-8
lines changed

6 files changed

+1903
-8
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
bin/
22

3+
data/
34
*.sqlite3

go.mod

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ go 1.18
55
require (
66
github.com/go-logr/logr v1.2.3
77
github.com/go-logr/zapr v1.2.3
8+
github.com/golang-migrate/migrate/v4 v4.15.2
89
github.com/gorilla/mux v1.8.0
910
github.com/jmoiron/sqlx v1.3.5
1011
github.com/mattn/go-sqlite3 v1.14.13
@@ -13,6 +14,8 @@ require (
1314
)
1415

1516
require (
17+
github.com/hashicorp/errwrap v1.1.0 // indirect
18+
github.com/hashicorp/go-multierror v1.1.1 // indirect
1619
github.com/inconshreveable/mousetrap v1.0.0 // indirect
1720
github.com/spf13/pflag v1.0.5 // indirect
1821
go.uber.org/atomic v1.7.0 // indirect

0 commit comments

Comments
 (0)