list

package
v1.165.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 16 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 LoadLocalVersions added in v1.134.2

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

func LoadPartialMigrations added in v1.70.0

func LoadPartialMigrations(version string, 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(markdown 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