call out deprecated structs so they are not accidentally used via autocomplete.

pull/224/head
Jason Kulatunga 3 years ago
parent 9d85920f49
commit 2750ccef4a

@ -4,6 +4,7 @@ import (
"time"
)
// Deprecated: m20201107210306.Device is deprecated, only used by db migrations
type Device struct {
//GORM attributes, see: http://gorm.io/docs/conventions.html
CreatedAt time.Time

@ -5,6 +5,7 @@ import (
"time"
)
// Deprecated: m20201107210306.Smart is deprecated, only used by db migrations
type Smart struct {
gorm.Model

@ -2,6 +2,7 @@ package m20201107210306
import "gorm.io/gorm"
// Deprecated: m20201107210306.SmartAtaAttribute is deprecated, only used by db migrations
type SmartAtaAttribute struct {
gorm.Model

@ -2,6 +2,7 @@ package m20201107210306
import "gorm.io/gorm"
// Deprecated: m20201107210306.SmartNvmeAttribute is deprecated, only used by db migrations
type SmartNvmeAttribute struct {
gorm.Model

@ -2,6 +2,7 @@ package m20201107210306
import "gorm.io/gorm"
// Deprecated: m20201107210306.SmartScsiAttribute is deprecated, only used by db migrations
type SmartScsiAttribute struct {
gorm.Model

Loading…
Cancel
Save