Skip to content

Commit 6ae3fc1

Browse files
fixed timeline test
1 parent 492bbb5 commit 6ae3fc1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

database/timeline_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func setup() (*sql.DB, error) {
4949

5050
func insertTeamEvent(eid int, db *sql.DB) error {
5151

52-
_, err := db.Exec(AddTeamQuery, "", eid, "random@email.com", "randomteam", "12345", time.Now(), time.Now(), "[]")
52+
_, err := db.Exec(AddTeamQuery, "", eid, "random@email.com", "randomteam", "12345", time.Now(), time.Now(), 0, "[]")
5353
if err != nil {
5454
return err
5555
}

docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ services:
1919
postgres-db:
2020
image: postgres:alpine
2121
container_name: postgres
22-
command: postgres -c config_file=/etc/postgresql/postgresql.conf -c logging_collector=on -c log_destination=stderr -c log_directory=/logs
22+
# command: postgres -c config_file=/etc/postgresql/postgresql.conf -c logging_collector=on -c log_destination=stderr -c log_directory=/logs
2323
env_file:
2424
- .env
2525
ports:
2626
- '5432:5432'
2727
volumes:
28-
- ${DB_LOGS_PATH}:/logs
29-
- ${PSQL_CONFIG_PATH}:/etc/postgresql/postgresql.conf
28+
#- ${DB_LOGS_PATH}:/logs
29+
#- ${PSQL_CONFIG_PATH}:/etc/postgresql/postgresql.conf
3030
- ${PSQL_DATA_PATH}:/var/lib/postgresql/data
3131
networks:
3232
- internal

0 commit comments

Comments
 (0)