call out deprecated structs so they are not accidentally used via autocomplete.
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Deprecated: m20201107210306.Device is deprecated, only used by db migrations
|
||||||
type Device struct {
|
type Device struct {
|
||||||
//GORM attributes, see: http://gorm.io/docs/conventions.html
|
//GORM attributes, see: http://gorm.io/docs/conventions.html
|
||||||
CreatedAt time.Time
|
CreatedAt time.Time
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Deprecated: m20201107210306.Smart is deprecated, only used by db migrations
|
||||||
type Smart struct {
|
type Smart struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ package m20201107210306
|
|||||||
|
|
||||||
import "gorm.io/gorm"
|
import "gorm.io/gorm"
|
||||||
|
|
||||||
|
// Deprecated: m20201107210306.SmartAtaAttribute is deprecated, only used by db migrations
|
||||||
type SmartAtaAttribute struct {
|
type SmartAtaAttribute struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ package m20201107210306
|
|||||||
|
|
||||||
import "gorm.io/gorm"
|
import "gorm.io/gorm"
|
||||||
|
|
||||||
|
// Deprecated: m20201107210306.SmartNvmeAttribute is deprecated, only used by db migrations
|
||||||
type SmartNvmeAttribute struct {
|
type SmartNvmeAttribute struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ package m20201107210306
|
|||||||
|
|
||||||
import "gorm.io/gorm"
|
import "gorm.io/gorm"
|
||||||
|
|
||||||
|
// Deprecated: m20201107210306.SmartScsiAttribute is deprecated, only used by db migrations
|
||||||
type SmartScsiAttribute struct {
|
type SmartScsiAttribute struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user