schema

package
v0.1.107 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2026 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package schema applies the artifacts table. It is a package apart from artifact so that artifact, which commons-db's context imports for Context.Blobs, does not import migrate: migrate's own tests import dbtest, which imports context.

Index

Constants

View Source
const Name = "commons-db-artifact"

Name is the bundle name the artifacts schema is applied under.

Variables

This section is empty.

Functions

func Migrate

func Migrate(ctx context.Context, dsn string, opts ...migrate.Option) error

Migrate applies the artifacts table. It manages only what it declares, so it shares a database with other bundles; opts (for example migrate.WithExclude) are applied after the bundle's own name and directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL