Improve project usage (#6)
All checks were successful
continuous-integration/drone/push Build is passing

1. Ignore unnecessary files, such as `pgcli` log/history, and extra `docker-compose` definitions.
2. Add `Makefile` with common tasks.
3. Add git pre-commit hook to ensure project is always properly formatted.
4. Add [`btree_gist`][0] extension to `postgres`.

Reviewed-on: #6

[0]: https://www.postgresql.org/docs/14/btree-gist.html
This commit is contained in:
2022-04-23 17:15:16 +00:00
parent b7200555a8
commit e7df0322d7
8 changed files with 253 additions and 2 deletions

View File

@@ -1,2 +1,5 @@
CREATE EXTENSION "uuid-ossp";
CREATE EXTENSION "pg_stat_statements";
CREATE EXTENSION "btree_gist";
CREATE DATABASE wabanex_dev TEMPLATE postgres;
CREATE DATABASE wabanex_test TEMPLATE wabanex_dev;