Working on getting https://atlasgo.io/docs setup.
curl -sSf https://atlasgo.sh | sh
To autogenerate a schema, can do:
atlas schema inspect -u "postgres://zeke:reyna@localhost:5432/zest?sslmode=disable" --format "{{ sql . }}"
To make a migration, can do:
make dev # atlas needs a dev database to plan changes
atlas schema apply -u "postgres://zeke:reyna@localhost:5432/zest?sslmode=disable" --to file://schema.sql --dev-url "postgres://atlas:pass@localhost:5444/postgres?sslmode=disable"