// Code generated by ent, DO NOT EDIT.

package ent

import (
	"time"

	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/apitoken"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/attestation"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/casbackend"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/casmapping"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/group"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/groupmembership"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/integration"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/integrationattachment"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/membership"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/organization"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/orginvitation"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/project"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/projectversion"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/referrer"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/robotaccount"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/schema"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/user"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/workflow"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/workflowcontract"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/workflowcontractversion"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/workflowrun"
	"github.com/google/uuid"
)

// The init function reads all schema descriptors with runtime code
// (default values, validators, hooks and policies) and stitches it
// to their package variables.
func init() {
	apitokenFields := schema.APIToken{}.Fields()
	_ = apitokenFields
	// apitokenDescCreatedAt is the schema descriptor for created_at field.
	apitokenDescCreatedAt := apitokenFields[3].Descriptor()
	// apitoken.DefaultCreatedAt holds the default value on creation for the created_at field.
	apitoken.DefaultCreatedAt = apitokenDescCreatedAt.Default.(func() time.Time)
	// apitokenDescID is the schema descriptor for id field.
	apitokenDescID := apitokenFields[0].Descriptor()
	// apitoken.DefaultID holds the default value on creation for the id field.
	apitoken.DefaultID = apitokenDescID.Default.(func() uuid.UUID)
	attestationFields := schema.Attestation{}.Fields()
	_ = attestationFields
	// attestationDescCreatedAt is the schema descriptor for created_at field.
	attestationDescCreatedAt := attestationFields[1].Descriptor()
	// attestation.DefaultCreatedAt holds the default value on creation for the created_at field.
	attestation.DefaultCreatedAt = attestationDescCreatedAt.Default.(func() time.Time)
	// attestationDescBundle is the schema descriptor for bundle field.
	attestationDescBundle := attestationFields[2].Descriptor()
	// attestation.BundleValidator is a validator for the "bundle" field. It is called by the builders before save.
	attestation.BundleValidator = attestationDescBundle.Validators[0].(func([]byte) error)
	// attestationDescID is the schema descriptor for id field.
	attestationDescID := attestationFields[0].Descriptor()
	// attestation.DefaultID holds the default value on creation for the id field.
	attestation.DefaultID = attestationDescID.Default.(func() uuid.UUID)
	casbackendFields := schema.CASBackend{}.Fields()
	_ = casbackendFields
	// casbackendDescCreatedAt is the schema descriptor for created_at field.
	casbackendDescCreatedAt := casbackendFields[6].Descriptor()
	// casbackend.DefaultCreatedAt holds the default value on creation for the created_at field.
	casbackend.DefaultCreatedAt = casbackendDescCreatedAt.Default.(func() time.Time)
	// casbackendDescValidatedAt is the schema descriptor for validated_at field.
	casbackendDescValidatedAt := casbackendFields[9].Descriptor()
	// casbackend.DefaultValidatedAt holds the default value on creation for the validated_at field.
	casbackend.DefaultValidatedAt = casbackendDescValidatedAt.Default.(func() time.Time)
	// casbackendDescDefault is the schema descriptor for default field.
	casbackendDescDefault := casbackendFields[10].Descriptor()
	// casbackend.DefaultDefault holds the default value on creation for the default field.
	casbackend.DefaultDefault = casbackendDescDefault.Default.(bool)
	// casbackendDescFallback is the schema descriptor for fallback field.
	casbackendDescFallback := casbackendFields[12].Descriptor()
	// casbackend.DefaultFallback holds the default value on creation for the fallback field.
	casbackend.DefaultFallback = casbackendDescFallback.Default.(bool)
	// casbackendDescID is the schema descriptor for id field.
	casbackendDescID := casbackendFields[0].Descriptor()
	// casbackend.DefaultID holds the default value on creation for the id field.
	casbackend.DefaultID = casbackendDescID.Default.(func() uuid.UUID)
	casmappingFields := schema.CASMapping{}.Fields()
	_ = casmappingFields
	// casmappingDescCreatedAt is the schema descriptor for created_at field.
	casmappingDescCreatedAt := casmappingFields[2].Descriptor()
	// casmapping.DefaultCreatedAt holds the default value on creation for the created_at field.
	casmapping.DefaultCreatedAt = casmappingDescCreatedAt.Default.(func() time.Time)
	// casmappingDescID is the schema descriptor for id field.
	casmappingDescID := casmappingFields[0].Descriptor()
	// casmapping.DefaultID holds the default value on creation for the id field.
	casmapping.DefaultID = casmappingDescID.Default.(func() uuid.UUID)
	groupFields := schema.Group{}.Fields()
	_ = groupFields
	// groupDescName is the schema descriptor for name field.
	groupDescName := groupFields[1].Descriptor()
	// group.NameValidator is a validator for the "name" field. It is called by the builders before save.
	group.NameValidator = groupDescName.Validators[0].(func(string) error)
	// groupDescCreatedAt is the schema descriptor for created_at field.
	groupDescCreatedAt := groupFields[4].Descriptor()
	// group.DefaultCreatedAt holds the default value on creation for the created_at field.
	group.DefaultCreatedAt = groupDescCreatedAt.Default.(func() time.Time)
	// groupDescUpdatedAt is the schema descriptor for updated_at field.
	groupDescUpdatedAt := groupFields[5].Descriptor()
	// group.DefaultUpdatedAt holds the default value on creation for the updated_at field.
	group.DefaultUpdatedAt = groupDescUpdatedAt.Default.(func() time.Time)
	// groupDescMemberCount is the schema descriptor for member_count field.
	groupDescMemberCount := groupFields[7].Descriptor()
	// group.DefaultMemberCount holds the default value on creation for the member_count field.
	group.DefaultMemberCount = groupDescMemberCount.Default.(int)
	// groupDescID is the schema descriptor for id field.
	groupDescID := groupFields[0].Descriptor()
	// group.DefaultID holds the default value on creation for the id field.
	group.DefaultID = groupDescID.Default.(func() uuid.UUID)
	groupmembershipFields := schema.GroupMembership{}.Fields()
	_ = groupmembershipFields
	// groupmembershipDescGroupID is the schema descriptor for group_id field.
	groupmembershipDescGroupID := groupmembershipFields[1].Descriptor()
	// groupmembership.DefaultGroupID holds the default value on creation for the group_id field.
	groupmembership.DefaultGroupID = groupmembershipDescGroupID.Default.(func() uuid.UUID)
	// groupmembershipDescUserID is the schema descriptor for user_id field.
	groupmembershipDescUserID := groupmembershipFields[2].Descriptor()
	// groupmembership.DefaultUserID holds the default value on creation for the user_id field.
	groupmembership.DefaultUserID = groupmembershipDescUserID.Default.(func() uuid.UUID)
	// groupmembershipDescMaintainer is the schema descriptor for maintainer field.
	groupmembershipDescMaintainer := groupmembershipFields[3].Descriptor()
	// groupmembership.DefaultMaintainer holds the default value on creation for the maintainer field.
	groupmembership.DefaultMaintainer = groupmembershipDescMaintainer.Default.(bool)
	// groupmembershipDescCreatedAt is the schema descriptor for created_at field.
	groupmembershipDescCreatedAt := groupmembershipFields[4].Descriptor()
	// groupmembership.DefaultCreatedAt holds the default value on creation for the created_at field.
	groupmembership.DefaultCreatedAt = groupmembershipDescCreatedAt.Default.(func() time.Time)
	// groupmembershipDescUpdatedAt is the schema descriptor for updated_at field.
	groupmembershipDescUpdatedAt := groupmembershipFields[5].Descriptor()
	// groupmembership.DefaultUpdatedAt holds the default value on creation for the updated_at field.
	groupmembership.DefaultUpdatedAt = groupmembershipDescUpdatedAt.Default.(func() time.Time)
	// groupmembershipDescID is the schema descriptor for id field.
	groupmembershipDescID := groupmembershipFields[0].Descriptor()
	// groupmembership.DefaultID holds the default value on creation for the id field.
	groupmembership.DefaultID = groupmembershipDescID.Default.(func() uuid.UUID)
	integrationFields := schema.Integration{}.Fields()
	_ = integrationFields
	// integrationDescCreatedAt is the schema descriptor for created_at field.
	integrationDescCreatedAt := integrationFields[5].Descriptor()
	// integration.DefaultCreatedAt holds the default value on creation for the created_at field.
	integration.DefaultCreatedAt = integrationDescCreatedAt.Default.(func() time.Time)
	// integrationDescID is the schema descriptor for id field.
	integrationDescID := integrationFields[0].Descriptor()
	// integration.DefaultID holds the default value on creation for the id field.
	integration.DefaultID = integrationDescID.Default.(func() uuid.UUID)
	integrationattachmentFields := schema.IntegrationAttachment{}.Fields()
	_ = integrationattachmentFields
	// integrationattachmentDescCreatedAt is the schema descriptor for created_at field.
	integrationattachmentDescCreatedAt := integrationattachmentFields[1].Descriptor()
	// integrationattachment.DefaultCreatedAt holds the default value on creation for the created_at field.
	integrationattachment.DefaultCreatedAt = integrationattachmentDescCreatedAt.Default.(func() time.Time)
	// integrationattachmentDescID is the schema descriptor for id field.
	integrationattachmentDescID := integrationattachmentFields[0].Descriptor()
	// integrationattachment.DefaultID holds the default value on creation for the id field.
	integrationattachment.DefaultID = integrationattachmentDescID.Default.(func() uuid.UUID)
	membershipFields := schema.Membership{}.Fields()
	_ = membershipFields
	// membershipDescCurrent is the schema descriptor for current field.
	membershipDescCurrent := membershipFields[1].Descriptor()
	// membership.DefaultCurrent holds the default value on creation for the current field.
	membership.DefaultCurrent = membershipDescCurrent.Default.(bool)
	// membershipDescCreatedAt is the schema descriptor for created_at field.
	membershipDescCreatedAt := membershipFields[2].Descriptor()
	// membership.DefaultCreatedAt holds the default value on creation for the created_at field.
	membership.DefaultCreatedAt = membershipDescCreatedAt.Default.(func() time.Time)
	// membershipDescUpdatedAt is the schema descriptor for updated_at field.
	membershipDescUpdatedAt := membershipFields[3].Descriptor()
	// membership.DefaultUpdatedAt holds the default value on creation for the updated_at field.
	membership.DefaultUpdatedAt = membershipDescUpdatedAt.Default.(func() time.Time)
	// membershipDescID is the schema descriptor for id field.
	membershipDescID := membershipFields[0].Descriptor()
	// membership.DefaultID holds the default value on creation for the id field.
	membership.DefaultID = membershipDescID.Default.(func() uuid.UUID)
	orginvitationFields := schema.OrgInvitation{}.Fields()
	_ = orginvitationFields
	// orginvitationDescCreatedAt is the schema descriptor for created_at field.
	orginvitationDescCreatedAt := orginvitationFields[3].Descriptor()
	// orginvitation.DefaultCreatedAt holds the default value on creation for the created_at field.
	orginvitation.DefaultCreatedAt = orginvitationDescCreatedAt.Default.(func() time.Time)
	// orginvitationDescID is the schema descriptor for id field.
	orginvitationDescID := orginvitationFields[0].Descriptor()
	// orginvitation.DefaultID holds the default value on creation for the id field.
	orginvitation.DefaultID = orginvitationDescID.Default.(func() uuid.UUID)
	organizationFields := schema.Organization{}.Fields()
	_ = organizationFields
	// organizationDescCreatedAt is the schema descriptor for created_at field.
	organizationDescCreatedAt := organizationFields[2].Descriptor()
	// organization.DefaultCreatedAt holds the default value on creation for the created_at field.
	organization.DefaultCreatedAt = organizationDescCreatedAt.Default.(func() time.Time)
	// organizationDescUpdatedAt is the schema descriptor for updated_at field.
	organizationDescUpdatedAt := organizationFields[3].Descriptor()
	// organization.DefaultUpdatedAt holds the default value on creation for the updated_at field.
	organization.DefaultUpdatedAt = organizationDescUpdatedAt.Default.(func() time.Time)
	// organizationDescBlockOnPolicyViolation is the schema descriptor for block_on_policy_violation field.
	organizationDescBlockOnPolicyViolation := organizationFields[5].Descriptor()
	// organization.DefaultBlockOnPolicyViolation holds the default value on creation for the block_on_policy_violation field.
	organization.DefaultBlockOnPolicyViolation = organizationDescBlockOnPolicyViolation.Default.(bool)
	// organizationDescID is the schema descriptor for id field.
	organizationDescID := organizationFields[0].Descriptor()
	// organization.DefaultID holds the default value on creation for the id field.
	organization.DefaultID = organizationDescID.Default.(func() uuid.UUID)
	projectFields := schema.Project{}.Fields()
	_ = projectFields
	// projectDescName is the schema descriptor for name field.
	projectDescName := projectFields[1].Descriptor()
	// project.NameValidator is a validator for the "name" field. It is called by the builders before save.
	project.NameValidator = projectDescName.Validators[0].(func(string) error)
	// projectDescCreatedAt is the schema descriptor for created_at field.
	projectDescCreatedAt := projectFields[3].Descriptor()
	// project.DefaultCreatedAt holds the default value on creation for the created_at field.
	project.DefaultCreatedAt = projectDescCreatedAt.Default.(func() time.Time)
	// projectDescUpdatedAt is the schema descriptor for updated_at field.
	projectDescUpdatedAt := projectFields[4].Descriptor()
	// project.DefaultUpdatedAt holds the default value on creation for the updated_at field.
	project.DefaultUpdatedAt = projectDescUpdatedAt.Default.(func() time.Time)
	// projectDescID is the schema descriptor for id field.
	projectDescID := projectFields[0].Descriptor()
	// project.DefaultID holds the default value on creation for the id field.
	project.DefaultID = projectDescID.Default.(func() uuid.UUID)
	projectversionFields := schema.ProjectVersion{}.Fields()
	_ = projectversionFields
	// projectversionDescVersion is the schema descriptor for version field.
	projectversionDescVersion := projectversionFields[1].Descriptor()
	// projectversion.DefaultVersion holds the default value on creation for the version field.
	projectversion.DefaultVersion = projectversionDescVersion.Default.(string)
	// projectversion.VersionValidator is a validator for the "version" field. It is called by the builders before save.
	projectversion.VersionValidator = projectversionDescVersion.Validators[0].(func(string) error)
	// projectversionDescCreatedAt is the schema descriptor for created_at field.
	projectversionDescCreatedAt := projectversionFields[2].Descriptor()
	// projectversion.DefaultCreatedAt holds the default value on creation for the created_at field.
	projectversion.DefaultCreatedAt = projectversionDescCreatedAt.Default.(func() time.Time)
	// projectversionDescUpdatedAt is the schema descriptor for updated_at field.
	projectversionDescUpdatedAt := projectversionFields[3].Descriptor()
	// projectversion.DefaultUpdatedAt holds the default value on creation for the updated_at field.
	projectversion.DefaultUpdatedAt = projectversionDescUpdatedAt.Default.(func() time.Time)
	// projectversionDescPrerelease is the schema descriptor for prerelease field.
	projectversionDescPrerelease := projectversionFields[6].Descriptor()
	// projectversion.DefaultPrerelease holds the default value on creation for the prerelease field.
	projectversion.DefaultPrerelease = projectversionDescPrerelease.Default.(bool)
	// projectversionDescWorkflowRunCount is the schema descriptor for workflow_run_count field.
	projectversionDescWorkflowRunCount := projectversionFields[7].Descriptor()
	// projectversion.DefaultWorkflowRunCount holds the default value on creation for the workflow_run_count field.
	projectversion.DefaultWorkflowRunCount = projectversionDescWorkflowRunCount.Default.(int)
	// projectversionDescLatest is the schema descriptor for latest field.
	projectversionDescLatest := projectversionFields[10].Descriptor()
	// projectversion.DefaultLatest holds the default value on creation for the latest field.
	projectversion.DefaultLatest = projectversionDescLatest.Default.(bool)
	// projectversionDescID is the schema descriptor for id field.
	projectversionDescID := projectversionFields[0].Descriptor()
	// projectversion.DefaultID holds the default value on creation for the id field.
	projectversion.DefaultID = projectversionDescID.Default.(func() uuid.UUID)
	referrerFields := schema.Referrer{}.Fields()
	_ = referrerFields
	// referrerDescCreatedAt is the schema descriptor for created_at field.
	referrerDescCreatedAt := referrerFields[4].Descriptor()
	// referrer.DefaultCreatedAt holds the default value on creation for the created_at field.
	referrer.DefaultCreatedAt = referrerDescCreatedAt.Default.(func() time.Time)
	// referrerDescID is the schema descriptor for id field.
	referrerDescID := referrerFields[0].Descriptor()
	// referrer.DefaultID holds the default value on creation for the id field.
	referrer.DefaultID = referrerDescID.Default.(func() uuid.UUID)
	robotaccountFields := schema.RobotAccount{}.Fields()
	_ = robotaccountFields
	// robotaccountDescCreatedAt is the schema descriptor for created_at field.
	robotaccountDescCreatedAt := robotaccountFields[2].Descriptor()
	// robotaccount.DefaultCreatedAt holds the default value on creation for the created_at field.
	robotaccount.DefaultCreatedAt = robotaccountDescCreatedAt.Default.(func() time.Time)
	// robotaccountDescID is the schema descriptor for id field.
	robotaccountDescID := robotaccountFields[0].Descriptor()
	// robotaccount.DefaultID holds the default value on creation for the id field.
	robotaccount.DefaultID = robotaccountDescID.Default.(func() uuid.UUID)
	userFields := schema.User{}.Fields()
	_ = userFields
	// userDescEmail is the schema descriptor for email field.
	userDescEmail := userFields[0].Descriptor()
	// user.EmailValidator is a validator for the "email" field. It is called by the builders before save.
	user.EmailValidator = userDescEmail.Validators[0].(func(string) error)
	// userDescCreatedAt is the schema descriptor for created_at field.
	userDescCreatedAt := userFields[2].Descriptor()
	// user.DefaultCreatedAt holds the default value on creation for the created_at field.
	user.DefaultCreatedAt = userDescCreatedAt.Default.(func() time.Time)
	// userDescUpdatedAt is the schema descriptor for updated_at field.
	userDescUpdatedAt := userFields[3].Descriptor()
	// user.DefaultUpdatedAt holds the default value on creation for the updated_at field.
	user.DefaultUpdatedAt = userDescUpdatedAt.Default.(func() time.Time)
	// userDescID is the schema descriptor for id field.
	userDescID := userFields[1].Descriptor()
	// user.DefaultID holds the default value on creation for the id field.
	user.DefaultID = userDescID.Default.(func() uuid.UUID)
	workflowFields := schema.Workflow{}.Fields()
	_ = workflowFields
	// workflowDescRunsCount is the schema descriptor for runs_count field.
	workflowDescRunsCount := workflowFields[3].Descriptor()
	// workflow.DefaultRunsCount holds the default value on creation for the runs_count field.
	workflow.DefaultRunsCount = workflowDescRunsCount.Default.(int)
	// workflowDescCreatedAt is the schema descriptor for created_at field.
	workflowDescCreatedAt := workflowFields[5].Descriptor()
	// workflow.DefaultCreatedAt holds the default value on creation for the created_at field.
	workflow.DefaultCreatedAt = workflowDescCreatedAt.Default.(func() time.Time)
	// workflowDescUpdatedAt is the schema descriptor for updated_at field.
	workflowDescUpdatedAt := workflowFields[6].Descriptor()
	// workflow.DefaultUpdatedAt holds the default value on creation for the updated_at field.
	workflow.DefaultUpdatedAt = workflowDescUpdatedAt.Default.(func() time.Time)
	// workflowDescPublic is the schema descriptor for public field.
	workflowDescPublic := workflowFields[8].Descriptor()
	// workflow.DefaultPublic holds the default value on creation for the public field.
	workflow.DefaultPublic = workflowDescPublic.Default.(bool)
	// workflowDescID is the schema descriptor for id field.
	workflowDescID := workflowFields[4].Descriptor()
	// workflow.DefaultID holds the default value on creation for the id field.
	workflow.DefaultID = workflowDescID.Default.(func() uuid.UUID)
	workflowcontractFields := schema.WorkflowContract{}.Fields()
	_ = workflowcontractFields
	// workflowcontractDescCreatedAt is the schema descriptor for created_at field.
	workflowcontractDescCreatedAt := workflowcontractFields[2].Descriptor()
	// workflowcontract.DefaultCreatedAt holds the default value on creation for the created_at field.
	workflowcontract.DefaultCreatedAt = workflowcontractDescCreatedAt.Default.(func() time.Time)
	// workflowcontractDescUpdatedAt is the schema descriptor for updated_at field.
	workflowcontractDescUpdatedAt := workflowcontractFields[3].Descriptor()
	// workflowcontract.DefaultUpdatedAt holds the default value on creation for the updated_at field.
	workflowcontract.DefaultUpdatedAt = workflowcontractDescUpdatedAt.Default.(func() time.Time)
	// workflowcontractDescID is the schema descriptor for id field.
	workflowcontractDescID := workflowcontractFields[0].Descriptor()
	// workflowcontract.DefaultID holds the default value on creation for the id field.
	workflowcontract.DefaultID = workflowcontractDescID.Default.(func() uuid.UUID)
	workflowcontractversionFields := schema.WorkflowContractVersion{}.Fields()
	_ = workflowcontractversionFields
	// workflowcontractversionDescRawBody is the schema descriptor for raw_body field.
	workflowcontractversionDescRawBody := workflowcontractversionFields[2].Descriptor()
	// workflowcontractversion.RawBodyValidator is a validator for the "raw_body" field. It is called by the builders before save.
	workflowcontractversion.RawBodyValidator = workflowcontractversionDescRawBody.Validators[0].(func([]byte) error)
	// workflowcontractversionDescRevision is the schema descriptor for revision field.
	workflowcontractversionDescRevision := workflowcontractversionFields[4].Descriptor()
	// workflowcontractversion.DefaultRevision holds the default value on creation for the revision field.
	workflowcontractversion.DefaultRevision = workflowcontractversionDescRevision.Default.(int)
	// workflowcontractversionDescCreatedAt is the schema descriptor for created_at field.
	workflowcontractversionDescCreatedAt := workflowcontractversionFields[5].Descriptor()
	// workflowcontractversion.DefaultCreatedAt holds the default value on creation for the created_at field.
	workflowcontractversion.DefaultCreatedAt = workflowcontractversionDescCreatedAt.Default.(func() time.Time)
	// workflowcontractversionDescID is the schema descriptor for id field.
	workflowcontractversionDescID := workflowcontractversionFields[0].Descriptor()
	// workflowcontractversion.DefaultID holds the default value on creation for the id field.
	workflowcontractversion.DefaultID = workflowcontractversionDescID.Default.(func() uuid.UUID)
	workflowrunFields := schema.WorkflowRun{}.Fields()
	_ = workflowrunFields
	// workflowrunDescCreatedAt is the schema descriptor for created_at field.
	workflowrunDescCreatedAt := workflowrunFields[1].Descriptor()
	// workflowrun.DefaultCreatedAt holds the default value on creation for the created_at field.
	workflowrun.DefaultCreatedAt = workflowrunDescCreatedAt.Default.(func() time.Time)
	// workflowrunDescID is the schema descriptor for id field.
	workflowrunDescID := workflowrunFields[0].Descriptor()
	// workflowrun.DefaultID holds the default value on creation for the id field.
	workflowrun.DefaultID = workflowrunDescID.Default.(func() uuid.UUID)
}
