Skip to content
This repository was archived by the owner on Mar 30, 2023. It is now read-only.

Commit 69cf81b

Browse files
Final fixes while installing on FreeBSD
Signed-off-by: Lukasz Gryglicki <lgryglicki@cncf.io>
1 parent 499ab7d commit 69cf81b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

INSTALL_FREEBSD.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Prerequisites:
5151
- sudo -i -u postgres
5252
- psql
5353
- Postgres only allows local connections by default so it is secure, we don't need to disable external connections:
54-
- Config file is: `/etc/postgresql/9.6/main/pg_hba.conf`, instructions to enable external connections (not recommended): `http://www.thegeekstuff.com/2014/02/enable-remote-postgresql-connection/?utm_source=tuicool`
54+
- Config file is: `/usr/local/share/postgresql/pg_hba.conf`, instructions to enable external connections (not recommended): `http://www.thegeekstuff.com/2014/02/enable-remote-postgresql-connection/?utm_source=tuicool`
5555
10. Inside psql client shell (sudo -u postgres psql):
5656
- `create database gha;`
5757
- `create database devstats;`

util_sql/devstats_log_table.sql

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
CREATE TABLE gha_logs (
22
id integer NOT NULL,
33
dt timestamp without time zone DEFAULT now(),
4-
msg text
4+
msg text,
5+
prog character varying(32) not null default '',
6+
proj character varying(32) not null,
7+
run_dt timestamp without time zone not null
58
);
69
ALTER TABLE gha_logs OWNER TO gha_admin;
710
CREATE SEQUENCE gha_logs_id_seq

0 commit comments

Comments
 (0)