diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-07-21 18:12:49 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-07-21 18:12:49 +0900 |
| commit | 2512da7ca57dc4c52900417a50daf4f6f2f74054 (patch) | |
| tree | 6a4921a9fcd2fe774171795425ba04889c9c8a49 /Makefile | |
| parent | e3373eb48b8cd5eef61a59d8ff590db184612294 (diff) | |
| download | phperkaigi-2025-albatross-2512da7ca57dc4c52900417a50daf4f6f2f74054.tar.gz phperkaigi-2025-albatross-2512da7ca57dc4c52900417a50daf4f6f2f74054.tar.zst phperkaigi-2025-albatross-2512da7ca57dc4c52900417a50daf4f6f2f74054.zip | |
add sqldef and sqlc
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -9,3 +9,15 @@ up: .PHONY: down down: docker compose down + +.PHONY: psql +psql: up + docker compose exec db psql --user=postgres albatross + +.PHONY: sqldef-dryrun +sqldef-dryrun: + docker compose run --no-TTY tools psqldef --dry-run < ./backend/schema.sql + +.PHONY: sqldef +sqldef: + docker compose run --no-TTY tools psqldef < ./backend/schema.sql |
