繁体   English   中英

如何在heroku上运行的Rails应用程序中以.sqlite3文件以编程方式替换当前数据库的内容?

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

当某个请求命中我的应用程序时,我想将数据库重置为原始状态,并以sqlite3文件备份。 我将不胜感激。

该应用程序托管在heroku上。

这看起来很有希望: http : //addons.heroku.com/bundles

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM