Postgres error “invalid value for parameter ”TimeZone“: ”UTC“”

前端 未结 15 761
甜味超标
甜味超标 2021-02-01 00:26
Jupitor$ bundle exec rake db:create db:migrate
APP_development already exists
rake aborted!
PG::Error: ERROR:  invalid value for parameter \"TimeZone\": \"UTC\"
: SET ti         


        
15条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-01 00:36

    In my case restarting the database didn't help. Updating tzdata (apt-get install tzdata) did the trick for me.

提交回复
热议问题