<分区>
我想在 Heroku 中插入数据,但我做不到,因为它有错误“Dataclip Error”
ERROR: cannot execute INSERT in a read-only transaction"
<分区>
我想在 Heroku 中插入数据,但我做不到,因为它有错误“Dataclip Error”
ERROR: cannot execute INSERT in a read-only transaction"
最佳答案
Heroku 的 Dataclips似乎是 designed for viewing data ,不修改它:
A Dataclip is a secret URL that holds the results of a SQL query on a particular Heroku Postgres database. Given the unique, private URL for a query, a user can call up the most recently stored results of that query. Our system will automatically re-run the Dataclip from time to time in order to keep results fresh. By sharing a Dataclip URL the same way you would share the underlying data, any recipient can view that data within, download it as a CSV, or even embed it live into a tool like Google Sheets.
很可能您无法使用此工具修改数据。
如果您只是想插入一些数据,请使用常规数据库客户端。
关于laravel - 数据剪辑错误 ERROR : cannot execute INSERT in a read-only transaction,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62989891/
相关文章:
拉拉维尔 4 : where's the profiler?
terminal - 用于 Laravel 5.7/6.x 的 PhpDocumentor
php - 如何给request()->all()添加变量? (拉维尔 6.0)
deployment - 无法将示例 GOLang 应用程序部署到 Heroku
php - 如果在 Laravel 6 中使用外键的表后面列出引用表,则不能在迁移中使用外键
node.js - 如何在更新和升级 Homebrew 后修复丢失的库
php - Laravel 错误 Symfony\Component\HttpKernel\Exception\NotFoundHttpException
laravel - 如何在 Laravel 中自定义 OrderBy
javascript - Heroku Ruby on Rails 应用程序不会更新 public/assets 目录中的未消化 Assets