Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ type ghCopilotScope20250100 struct {
ScopeConfigId uint64 `json:"scopeConfigId,omitempty"`
Id string `json:"id" gorm:"primaryKey;type:varchar(255)"`
Organization string `json:"organization" gorm:"type:varchar(255)"`
ImplementationDate *time.Time `json:"implementationDate" gorm:"type:datetime"`
ImplementationDate *time.Time `json:"implementationDate"`
BaselinePeriodDays int `json:"baselinePeriodDays" gorm:"default:90"`
SeatsLastSyncedAt *time.Time `json:"seatsLastSyncedAt" gorm:"type:datetime"`
SeatsLastSyncedAt *time.Time `json:"seatsLastSyncedAt"`
}

func (ghCopilotScope20250100) TableName() string {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ type ghCopilotScope20260116 struct {
Organization string `json:"organization" gorm:"type:varchar(255)"`
Name string `json:"name" gorm:"type:varchar(255)"`
FullName string `json:"fullName" gorm:"type:varchar(255)"`
ImplementationDate *time.Time `json:"implementationDate" gorm:"type:datetime"`
ImplementationDate *time.Time `json:"implementationDate"`
BaselinePeriodDays int `json:"baselinePeriodDays" gorm:"default:90"`
SeatsLastSyncedAt *time.Time `json:"seatsLastSyncedAt" gorm:"type:datetime"`
SeatsLastSyncedAt *time.Time `json:"seatsLastSyncedAt"`
}

func (ghCopilotScope20260116) TableName() string {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type scopeConfig20260121 struct {
Entities []string `gorm:"type:json;serializer:json" json:"entities" mapstructure:"entities"`
ConnectionId uint64 `json:"connectionId" gorm:"index" validate:"required" mapstructure:"connectionId,omitempty"`
Name string `mapstructure:"name" json:"name" gorm:"type:varchar(255);uniqueIndex" validate:"required"`
ImplementationDate *time.Time `json:"implementationDate" mapstructure:"implementationDate" gorm:"type:datetime"`
ImplementationDate *time.Time `json:"implementationDate" mapstructure:"implementationDate"`
BaselinePeriodDays int `json:"baselinePeriodDays" mapstructure:"baselinePeriodDays" gorm:"default:90"`
}

Expand Down
Loading