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

This commit is contained in:
Jason Kulatunga
2022-05-03 11:52:47 -07:00
parent 9d85920f49
commit 2750ccef4a
5 changed files with 5 additions and 0 deletions
@@ -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