mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
feat: store and display template creator (#2228)
* design commit * add owner_id to templates table * add owner information in apis and ui * update minWidth for statItem * rename owner to created_by * missing refactor to created_by * handle errors in fetching created_by names
This commit is contained in:
@ -88,6 +88,7 @@ func TestDiff(t *testing.T) {
|
||||
ActiveVersionID: uuid.UUID{3},
|
||||
MaxTtl: int64(time.Hour),
|
||||
MinAutostartInterval: int64(time.Minute),
|
||||
CreatedBy: uuid.NullUUID{UUID: uuid.UUID{4}, Valid: true},
|
||||
},
|
||||
exp: audit.Map{
|
||||
"id": uuid.UUID{1}.String(),
|
||||
@ -97,6 +98,7 @@ func TestDiff(t *testing.T) {
|
||||
"active_version_id": uuid.UUID{3}.String(),
|
||||
"max_ttl": int64(3600000000000),
|
||||
"min_autostart_interval": int64(60000000000),
|
||||
"created_by": uuid.UUID{4}.String(),
|
||||
},
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user