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 psql $PGDATABASE << EOF
CREATE TABLE routes ( \ CREATE TABLE routes ( \
creatorName text, creatorName text,
dustPoints float[], dustPoints jsonb[],
checkPoints float[], checkPoints jsonb[],
startLocation float, startLocation jsonb,
endLocation float, endLocation jsonb,
createDate text createDate text
); );