Skip to content

Commit

Permalink
fixed migrate20230904100000 pointing to the wrong table
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Oct 22, 2023
1 parent 1d899e6 commit 49982d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/backend/migration/20230904100000.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ type NewsSource struct {
Hook null.String `gorm:"column:hook;type:char;size:12;"`
}

// TableName sets the insert table name for this struct type
func (n *NewsSource) TableName() string {
return "newsSource"
}

// migrate20230904100000
// migrates the crontab from kino to movie crontab
func (m TumDBMigrator) migrate20230904100000() *gormigrate.Migration {
Expand Down

0 comments on commit 49982d7

Please sign in to comment.