removed field vac, use date instead
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
@@ -121,13 +121,6 @@ func VanityURLReal(v string) predicate.Player {
|
||||
})
|
||||
}
|
||||
|
||||
// Vac applies equality check predicate on the "vac" field. It's identical to VacEQ.
|
||||
func Vac(v bool) predicate.Player {
|
||||
return predicate.Player(func(s *sql.Selector) {
|
||||
s.Where(sql.EQ(s.C(FieldVac), v))
|
||||
})
|
||||
}
|
||||
|
||||
// VacDate applies equality check predicate on the "vac_date" field. It's identical to VacDateEQ.
|
||||
func VacDate(v time.Time) predicate.Player {
|
||||
return predicate.Player(func(s *sql.Selector) {
|
||||
@@ -677,20 +670,6 @@ func VanityURLRealContainsFold(v string) predicate.Player {
|
||||
})
|
||||
}
|
||||
|
||||
// VacEQ applies the EQ predicate on the "vac" field.
|
||||
func VacEQ(v bool) predicate.Player {
|
||||
return predicate.Player(func(s *sql.Selector) {
|
||||
s.Where(sql.EQ(s.C(FieldVac), v))
|
||||
})
|
||||
}
|
||||
|
||||
// VacNEQ applies the NEQ predicate on the "vac" field.
|
||||
func VacNEQ(v bool) predicate.Player {
|
||||
return predicate.Player(func(s *sql.Selector) {
|
||||
s.Where(sql.NEQ(s.C(FieldVac), v))
|
||||
})
|
||||
}
|
||||
|
||||
// VacDateEQ applies the EQ predicate on the "vac_date" field.
|
||||
func VacDateEQ(v time.Time) predicate.Player {
|
||||
return predicate.Player(func(s *sql.Selector) {
|
||||
|
Reference in New Issue
Block a user