list

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 11 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, username, password, database, host string, 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