Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 13159ba

Browse files
committed
added migration
1 parent 1f9ccfa commit 13159ba

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

coderd/database/dump.sql

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- It's not possible to drop enum values from enum types, so the UP has "IF NOT
2+
-- EXISTS".
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TYPE resource_type ADD VALUE IF NOT EXISTS 'workspace_build';

coderd/database/models.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

enterprise/audit/table.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ var AuditableResources = auditMap(map[any]map[string]Action{
113113
"provisioner_state": ActionIgnore, // Unimportant to the user
114114
"job_id": ActionIgnore, // Unimportant to the user
115115
"deadline": ActionIgnore, // Unimportant to the user
116-
"reason": ActionTrack,
116+
"reason": ActionIgnore, // Unimportant to the user
117117
},
118118
})
119119

0 commit comments

Comments
 (0)