authelia/internal/model/migration.go
2022-03-06 16:47:40 +11:00

15 lines
308 B
Go

package model
import (
"time"
)
// Migration represents a migration row in the database.
type Migration struct {
ID int `db:"id"`
Applied time.Time `db:"applied"`
Before int `db:"version_before"`
After int `db:"version_after"`
Version string `db:"application_version"`
}