call out deprecated structs so they are not accidentally used via autocomplete.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user