开发者

How can I programmatically replace the contents of the current db with a .sqlite3 file in a rails app running on heroku?

开发者 https://www.devze.com 2023-01-19 04:22 出处:网络
When a certain request hits my app I would like to reset the database back to its original state whic开发者_开发技巧h is backed up in an sqlite3 file. I\'d appreciate any help.

When a certain request hits my app I would like to reset the database back to its original state whic开发者_开发技巧h is backed up in an sqlite3 file. I'd appreciate any help.

The app is hosted on heroku.


This looks promising: http://addons.heroku.com/bundles

0

精彩评论

暂无评论...
验证码 换一张
取 消