File tree Expand file tree Collapse file tree
backend/plugins/gh-copilot/models/migrationscripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ type ghCopilotScope20250100 struct {
6565 ScopeConfigId uint64 `json:"scopeConfigId,omitempty"`
6666 Id string `json:"id" gorm:"primaryKey;type:varchar(255)"`
6767 Organization string `json:"organization" gorm:"type:varchar(255)"`
68- ImplementationDate * time.Time `json:"implementationDate" gorm:"type:datetime" `
68+ ImplementationDate * time.Time `json:"implementationDate"`
6969 BaselinePeriodDays int `json:"baselinePeriodDays" gorm:"default:90"`
70- SeatsLastSyncedAt * time.Time `json:"seatsLastSyncedAt" gorm:"type:datetime" `
70+ SeatsLastSyncedAt * time.Time `json:"seatsLastSyncedAt"`
7171}
7272
7373func (ghCopilotScope20250100 ) TableName () string {
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ type ghCopilotScope20260116 struct {
3838 Organization string `json:"organization" gorm:"type:varchar(255)"`
3939 Name string `json:"name" gorm:"type:varchar(255)"`
4040 FullName string `json:"fullName" gorm:"type:varchar(255)"`
41- ImplementationDate * time.Time `json:"implementationDate" gorm:"type:datetime" `
41+ ImplementationDate * time.Time `json:"implementationDate"`
4242 BaselinePeriodDays int `json:"baselinePeriodDays" gorm:"default:90"`
43- SeatsLastSyncedAt * time.Time `json:"seatsLastSyncedAt" gorm:"type:datetime" `
43+ SeatsLastSyncedAt * time.Time `json:"seatsLastSyncedAt"`
4444}
4545
4646func (ghCopilotScope20260116 ) TableName () string {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ type scopeConfig20260121 struct {
3333 Entities []string `gorm:"type:json;serializer:json" json:"entities" mapstructure:"entities"`
3434 ConnectionId uint64 `json:"connectionId" gorm:"index" validate:"required" mapstructure:"connectionId,omitempty"`
3535 Name string `mapstructure:"name" json:"name" gorm:"type:varchar(255);uniqueIndex" validate:"required"`
36- ImplementationDate * time.Time `json:"implementationDate" mapstructure:"implementationDate" gorm:"type:datetime" `
36+ ImplementationDate * time.Time `json:"implementationDate" mapstructure:"implementationDate"`
3737 BaselinePeriodDays int `json:"baselinePeriodDays" mapstructure:"baselinePeriodDays" gorm:"default:90"`
3838}
3939
You can’t perform that action at this time.
0 commit comments