Posts by Foo • 11 points
2 posts
-
0
votes1
answer1279
viewsA: PG::Datetimefieldoverflow: ERROR: date/time field value out of range: "22/11/2019 19:47:22.793483"
My database did not accept dates with '/' In a file date_time_formats.Rb Voce can change control the return of Ror’s time methods. I just added the line Time::DATE_FORMATS[:db]= '%Y-%m-%d %H:%M:%S'…
-
1
votes1
answer1279
viewsQ: PG::Datetimefieldoverflow: ERROR: date/time field value out of range: "22/11/2019 19:47:22.793483"
I’m developing an application on Ror and moving it up to Heroku. When I use the command heroku run rake db:migrate I get that mistake: $ heroku run rake db:migrate Running rake db:migrate on ⬢…