use jsonb file types

This commit is contained in:
Anish Lakhwara 2022-11-21 01:45:19 +10:00
parent 74cb821dc1
commit afdc7bd158

View file

@ -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
);