Rails + Postgres drop error: database is being accessed by other users

前端 未结 16 2160
时光取名叫无心
时光取名叫无心 2020-12-04 06:26

I have a rails application running over Postgres.

I have two servers: one for testing and the other for production.

Very often I need to clone the production

16条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 06:57

    Just make sure that the you have exited the rails console on any open terminal window and exited the rails server...this is one of the most common mistake made by people

提交回复
热议问题