fix

package
v0.0.0-...-e9f677e Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Anko

func Anko(content string) (string, error)

Anko converts old anko-form migrations to new plush ones.

func AutoTimestampsOff

func AutoTimestampsOff(content string) (string, error)

AutoTimestampsOff adds a t.Timestamps() statement to fizz migrations when they still use the implicit auto-timestamp old fizz feature.

func Fizz

func Fizz(r io.Reader, w io.Writer) error

Fizz fixes a fizz file to use the most up to date format. It takes the original contents from the Reader, and writes the fixed contents in the Writer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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