database insert is working
This commit is contained in:
@@ -10,13 +10,13 @@ import (
|
||||
|
||||
type Inventory struct {
|
||||
Iid sql.NullInt64
|
||||
Name sql.NullString
|
||||
Vcenter sql.NullString
|
||||
Name string
|
||||
Vcenter string
|
||||
VmId sql.NullString
|
||||
EventKey sql.NullString
|
||||
EventId sql.NullString
|
||||
CreationTime sql.NullString
|
||||
DeletionTime sql.NullString
|
||||
CreationTime sql.NullInt64
|
||||
DeletionTime sql.NullInt64
|
||||
ResourcePool sql.NullString
|
||||
VmType sql.NullString
|
||||
Datacenter sql.NullString
|
||||
@@ -31,8 +31,8 @@ type Inventory struct {
|
||||
type Updates struct {
|
||||
Uid sql.NullInt64
|
||||
InventoryId sql.NullInt64
|
||||
UpdateTime sql.NullString
|
||||
UpdateType sql.NullString
|
||||
UpdateTime sql.NullInt64
|
||||
UpdateType string
|
||||
NewVcpus sql.NullInt64
|
||||
NewRam sql.NullInt64
|
||||
NewResourcePool sql.NullString
|
||||
|
Reference in New Issue
Block a user