mirror of
https://github.com/acaloiaro/garbagespeak.com
synced 2026-07-21 18:29:08 +00:00
421 B
421 B
Garbage Speak
A fun and useless website
Migrations
Migrations required go-migrate to be run locally:
go install github.com/golang-migrate/migrate@v4
Adding migrations
migrate create -ext sql -dir migrations -seq name_of_migration
Running migrations
Migrate up
migrate -database ${POSTGRESQL_URL} -path migrations up
Migrate down
migrate -database ${POSTGRESQL_URL} -path migrations down