diff --git a/setup-postgres.sh b/setup-postgres.sh index 1c7278e..5dbbd7a 100755 --- a/setup-postgres.sh +++ b/setup-postgres.sh @@ -15,9 +15,9 @@ pg_ctl start -l $LOG_PATH -o "-c listen_addresses= -c unix_socket_directories=$P psql $PGDATABASE << EOF CREATE TABLE routes ( \ creatorName text, - dustPoints float[], - checkPoints float[], - startLocation float, - endLocation float, + dustPoints jsonb[], + checkPoints jsonb[], + startLocation jsonb, + endLocation jsonb, createDate text );