diptadas / flarn

Fun learning
https://flarn.netlify.com
4 stars 2 forks source link

Get Random problem fails in Postgre #55

Closed clintonyeb closed 4 years ago

clintonyeb commented 4 years ago

Postgres does not support the rand() function. Find a better implementation for this.

clintonyeb commented 4 years ago

It looks like since we have different database for dev and prod, and we cant run both rand() and random() for sql and postgres respectively. The problem has been fixed for production