Added automatic database migration.

This commit is contained in:
Marvin Blum
2020-09-10 22:13:07 +02:00
committed by Marvin Blum
parent 5b800991c8
commit 47e6ecfadd
7 changed files with 804 additions and 42 deletions

2
go.mod
View File

@@ -9,6 +9,8 @@ require (
github.com/emvi/logbuch v1.1.1
github.com/emvi/pirsch v1.5.0
github.com/go-sql-driver/mysql v1.5.0 // indirect
github.com/golang-migrate/migrate v3.5.4+incompatible
github.com/golang-migrate/migrate/v4 v4.12.2
github.com/gorilla/mux v1.8.0
github.com/gosimple/slug v1.9.0
github.com/kr/pretty v0.1.0 // indirect