move mockfs DumpDB to db package

This commit is contained in:
sentriz
2023-10-09 21:50:34 +01:00
parent c9a2d2f9ce
commit 66a29f7e93
5 changed files with 502 additions and 501 deletions

View File

@@ -2,7 +2,7 @@ package db
import "time"
type _OldPlaylist struct {
type __OldPlaylist struct { //nolint: revive,stylecheck
ID int `gorm:"primary_key"`
CreatedAt time.Time
UpdatedAt time.Time
@@ -15,6 +15,6 @@ type _OldPlaylist struct {
IsPublic bool `sql:"default: null"`
}
func (_OldPlaylist) TableName() string {
func (__OldPlaylist) TableName() string {
return "playlists"
}