MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / NewSchema

Function NewSchema

app/controlplane/pkg/data/ent/migrate/migrate.go:41–41  ·  view source on GitHub ↗

NewSchema creates a new schema client.

(drv dialect.Driver)

Source from the content-addressed store, hash-verified

39
40// NewSchema creates a new schema client.
41func NewSchema(drv dialect.Driver) *Schema { return &Schema{drv: drv} }
42
43// Create creates all schema resources.
44func (s *Schema) Create(ctx context.Context, opts ...schema.MigrateOption) error {

Callers 1

initMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected