mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
* fix: initial commit for agents * fix: remove frontend package manger commit * fix: use sqlstore * fix: opamp server changes * fix: tests * fix: tests * fix: minor changes * fix: migrations * fix: use uuid7 * fix: use default orgID for single tenant * fix: pipelines tests fixed * fix: use correct agentId * fix: use orgID in coordinator * fix: fix tests * fix: remove redundant hash check * fix: migration * fix: migration * fix: address comments * fix: rename migration file * fix: remove unwanted orgid code * fix: use orggetter * fix: comment * fix: schema cleanup * fix: minor changes * chore: addresses changes * fix: add back agentID as it used ulid * fix: keep only 50 agents for an orgId * chore: explicitly specify text type * chore: use valuer.uuid for orgid * fix: linting complain * chore: final fixes * chore: minor changes * fix: add not null * fix: fe tests --------- Co-authored-by: Vikrant Gupta <vikrant@signoz.io>
14 lines
333 B
Go
14 lines
333 B
Go
package types
|
|
|
|
import "time"
|
|
|
|
type TimeAuditable struct {
|
|
CreatedAt time.Time `bun:"created_at" json:"createdAt"`
|
|
UpdatedAt time.Time `bun:"updated_at" json:"updatedAt"`
|
|
}
|
|
|
|
type UserAuditable struct {
|
|
CreatedBy string `bun:"created_by,type:text" json:"createdBy"`
|
|
UpdatedBy string `bun:"updated_by,type:text" json:"updatedBy"`
|
|
}
|