diff --git a/README.md b/README.md index be14966..d6e45d9 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Setting up a temporary db (just using public schema for now): ``` docker run -e POSTGRES_PASSWORD= -p 54322:5432 -it --rm postgres PGPASSWORD= psql -p 54322 -U postgres -h -c 'create database directoryish;' -PGPASSWORD= psql -p 54322 -U postgres -h -d directoryish -a -f schema.sql +PGPASSWORD= psql -p 54322 -U postgres -h -d directoryish -a -f migrations/001_initial_schema.up.sql ``` Installing sqlc and oapi-codegen (probably good to contrive a way to add these as deps although the [tools.go](https://www.jvt.me/posts/2024/09/30/go-tools-module/) approach is a bit unwieldy it does seem like they have a proposal open with the core team to smooth this out a bit): @@ -34,4 +34,4 @@ go build ## Real - https://github.com/leg100/otf -- https://github.com/helpwave/services/tree/main/services/tasks-svc \ No newline at end of file +- https://github.com/helpwave/services/tree/main/services/tasks-svc