added documentation comments to methods

This commit is contained in:
Fran Jurmanovic
2021-08-02 10:19:58 -07:00
parent 05a13112f1
commit 0195528428
31 changed files with 175 additions and 33 deletions

View File

@@ -4,6 +4,7 @@ import (
"github.com/go-pg/pg/v10"
)
// Starts database migration.
func Start(conn *pg.DB, version string) {
migration001 := Migration{
Version: "001",
@@ -43,7 +44,6 @@ func Start(conn *pg.DB, version string) {
}
type Migration struct {
Version string
Version string
Migrations []interface{}
}