drivers

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Diff

type Diff struct {
	From        string
	To          string
	FromContent string
	ToContent   string
}

type Diffs

type Diffs []Diff

type Driver

type Driver interface {
	Plan(ctx context.Context, from, to *schema.Schema) (Diffs, error)
	Apply(ctx context.Context, from, to *schema.Schema) error
}

Driver is the common interface for database drivers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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