People: Upgrade dev database table names #22

This commit is contained in:
Michael Mayer 2021-09-20 23:37:27 +02:00
parent 070efcbc66
commit 4df0e4167a
4 changed files with 6 additions and 3 deletions

View file

@ -22,6 +22,7 @@ var DeprecatedTables = Deprecated{
"subjects_dev6",
"subjects_dev7",
"subjects_dev8",
"subjects_dev9",
"markers_dev1",
"markers_dev2",
"markers_dev3",
@ -30,6 +31,7 @@ var DeprecatedTables = Deprecated{
"markers_dev6",
"markers_dev7",
"markers_dev8",
"markers_dev9",
"faces_dev1",
"faces_dev2",
"faces_dev3",
@ -38,4 +40,5 @@ var DeprecatedTables = Deprecated{
"faces_dev6",
"faces_dev7",
"faces_dev8",
"faces_dev9",
}

View file

@ -40,7 +40,7 @@ var Faceless = []string{""}
// TableName returns the entity database table name.
func (Face) TableName() string {
return "faces_dev9"
return "faces_dev10"
}
// NewFace returns a new face.

View file

@ -56,7 +56,7 @@ type Marker struct {
// TableName returns the entity database table name.
func (Marker) TableName() string {
return "markers_dev9"
return "markers_dev10"
}
// BeforeCreate creates a random UID if needed before inserting a new row to the database.

View file

@ -42,7 +42,7 @@ type Subject struct {
// TableName returns the entity database table name.
func (Subject) TableName() string {
return "subjects_dev9"
return "subjects_dev10"
}
// BeforeCreate creates a random UID if needed before inserting a new row to the database.