migrations

command
v0.0.0-...-98e61d9 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

README

steps to make script:

cp -r cmd/example cmd/{migration-name}

implement your migration script in cmd/{migration-name}/main.go

if changing the model breaks old scripts, it doesn't matter since we don't re-run them, so don't worry

ship it

sync this repo onto the cloud server

git pull
cd cmd/{migration-name}
go build -o build
rm -f output.txt
doppler run -- ./build/{migration-name} > output.txt

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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