removed field vac, use date instead

This commit is contained in:
2021-10-22 23:11:35 +02:00
parent f1176fc7e7
commit 7d1dcaa555
10 changed files with 4 additions and 173 deletions

View File

@@ -19,8 +19,6 @@ const (
FieldVanityURL = "vanity_url"
// FieldVanityURLReal holds the string denoting the vanity_url_real field in the database.
FieldVanityURLReal = "vanity_url_real"
// FieldVac holds the string denoting the vac field in the database.
FieldVac = "vac"
// FieldVacDate holds the string denoting the vac_date field in the database.
FieldVacDate = "vac_date"
// FieldVacCount holds the string denoting the vac_count field in the database.
@@ -62,7 +60,6 @@ var Columns = []string{
FieldAvatar,
FieldVanityURL,
FieldVanityURLReal,
FieldVac,
FieldVacDate,
FieldVacCount,
FieldSteamUpdated,
@@ -89,8 +86,6 @@ func ValidColumn(column string) bool {
}
var (
// DefaultVac holds the default value on creation for the "vac" field.
DefaultVac bool
// DefaultSteamUpdated holds the default value on creation for the "steam_updated" field.
DefaultSteamUpdated func() time.Time
)