Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update earliestAllowedTs comment (#700)

Danny Xuf684dff70c96
diff --git a/api/issue.go b/api/issue.go
index 645add8691..ceb23df03d 100644
--- a/api/issue.go
+++ b/api/issue.go
@@ -146,7 +146,7 @@ type UpdateSchemaDetail struct {
Statement string `json:"statement"`
// RollbackStatement is the rollback statement of the statement.
RollbackStatement string `json:"rollbackStatement"`
- // EarliestAllowedTs the earliest execution time of the change at system local Unix timestamp in nanoseconds.
+ // EarliestAllowedTs the earliest execution time of the change at system local Unix timestamp in seconds.
EarliestAllowedTs int64 `jsonapi:"attr,earliestAllowedTs"`
}
diff --git a/api/task_check_run.go b/api/task_check_run.go
index 19cfe2f869..2d95d8b192 100644
--- a/api/task_check_run.go
+++ b/api/task_check_run.go
@@ -81,7 +81,7 @@ const (
TaskCheckGeneralEarliestAllowedTime TaskCheckType = "bb.task-check.general.earliest-allowed-time"
)
-// TaskCheckEarliestAllowedTimePayload is the task check payload for earliest allowed time
+// TaskCheckEarliestAllowedTimePayload is the task check payload for earliest allowed time.
type TaskCheckEarliestAllowedTimePayload struct {
EarliestAllowedTs int64 `json:"earliestAllowedTs,omitempty"`
}