Laughing-Man-Studios / Ski-Resort-Dashboard

A small dashboard to display some statistics about the local ski resorts I visit
MIT License
0 stars 0 forks source link

Convert Resorts Columns To Use JSON datatype instead of String #18

Open Rogibb111 opened 2 years ago

Rogibb111 commented 2 years ago

Currently for the Arapahoe Basin Column, I am converting all of my data into JSON and then converting that to a string to be stored. PostgreSQL actually can handle storing JSON natively, so I would like to see if Slick has a way of updating the table and making that column store JSON instead.

Rogibb111 commented 2 years ago

I believe that using this library is probably going to be the way to do this.

Here is a stack overflow that describes what to do when using the above library.