list

package
v1.60.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const LIST_MIGRATION_VERSION = "SELECT version FROM supabase_migrations.schema_migrations ORDER BY version"

Variables

This section is empty.

Functions

func LoadLocalMigrations added in v1.17.4

func LoadLocalMigrations(fsys afero.Fs) ([]string, error)

func LoadRemoteMigrations added in v1.17.4

func LoadRemoteMigrations(ctx context.Context, conn *pgx.Conn) ([]string, error)

func RenderTable added in v1.21.0

func RenderTable(remoteVersions, localVersions []string) error

func Run

func Run(ctx context.Context, config pgconn.Config, fsys afero.Fs, options ...func(*pgx.ConnConfig)) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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