migrations

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDown

func IsDown(filename string) bool

func RemoveRollbackStatements

func RemoveRollbackStatements(contents string) string

Remove all lines after a rollback comment.

goose: -- +goose Down sql-migrate: -- +migrate Down tern: ---- create above / drop below ---- dbmate: -- migrate:down

Types

This section is empty.

Jump to

Keyboard shortcuts

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