https://github.com/aklinkert/opinionated-pg-formatter
A Docker image to format PostgreSQL files with opinionated default configuration.
https://github.com/aklinkert/opinionated-pg-formatter
docker docker-image pgformatter postgresql sql-formatter
Last synced: 5 days ago
JSON representation
A Docker image to format PostgreSQL files with opinionated default configuration.
- Host: GitHub
- URL: https://github.com/aklinkert/opinionated-pg-formatter
- Owner: aklinkert
- License: mit
- Created: 2025-11-12T10:39:13.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-12-04T09:41:26.000Z (7 months ago)
- Last Synced: 2026-01-13T10:37:39.416Z (5 months ago)
- Topics: docker, docker-image, pgformatter, postgresql, sql-formatter
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# opinionated-pg-formatter
A docker file containing [pgFormatter](https://github.com/darold/pgFormatter) with an opinionated default config and
support for ignored files. Simple, easy to use, and works with a default set of configuration out of the box.
## Usage
Assuming you have a directory called `migrations` with your SQL files in it, run:
```shell
docker run -v "./migrations:/workdir" --rm ghcr.io/aklinkert/opinionated-pg-formatter
```
## License
```
MIT License
Copyright (c) 2025 - present Alex Klinkert
```