work on optimising vcenter queries
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -59,6 +59,15 @@ type InventoryHistory struct {
|
||||
PreviousProvisionedDisk sql.NullFloat64 `db:"PreviousProvisionedDisk" json:"PreviousProvisionedDisk"`
|
||||
}
|
||||
|
||||
type PragmaTableInfo struct {
|
||||
Cid sql.NullInt64 `db:"cid" json:"cid"`
|
||||
Name sql.NullString `db:"name" json:"name"`
|
||||
Type sql.NullString `db:"type" json:"type"`
|
||||
Notnull sql.NullInt64 `db:"notnull" json:"notnull"`
|
||||
DfltValue sql.NullString `db:"dflt_value" json:"dflt_value"`
|
||||
Pk sql.NullInt64 `db:"pk" json:"pk"`
|
||||
}
|
||||
|
||||
type SnapshotRegistry struct {
|
||||
ID int64 `db:"id" json:"id"`
|
||||
SnapshotType string `db:"snapshot_type" json:"snapshot_type"`
|
||||
@@ -66,6 +75,14 @@ type SnapshotRegistry struct {
|
||||
SnapshotTime int64 `db:"snapshot_time" json:"snapshot_time"`
|
||||
}
|
||||
|
||||
type SqliteMaster struct {
|
||||
Type sql.NullString `db:"type" json:"type"`
|
||||
Name sql.NullString `db:"name" json:"name"`
|
||||
TblName sql.NullString `db:"tbl_name" json:"tbl_name"`
|
||||
Rootpage sql.NullInt64 `db:"rootpage" json:"rootpage"`
|
||||
Sql sql.NullString `db:"sql" json:"sql"`
|
||||
}
|
||||
|
||||
type Update struct {
|
||||
Uid int64 `db:"Uid" json:"Uid"`
|
||||
InventoryId sql.NullInt64 `db:"InventoryId" json:"InventoryId"`
|
||||
|
||||
Reference in New Issue
Block a user