When I use Storage API (storageModule
) for using a PostgreSQL database, I lose the option to remove the palette. How to get the remove the palette option?
First off, I’ve never used PosrqreSQL but I have a few questions for you.
- where are you using the storage API? In what node?
- what palette are you referring to? The palette manager in the sidebar?
- what version of NR and node.js are you running?
Remember when you ask a question, you know what you are talking about, but without background no one else will know your environment.
Some of the suggestions in this FAQ might help you fill in the needed background information.
Thank sir for your reply
I used Storage API to store Node-RED runtime data in a PostgreSQL database.
settings.js
code
module.exports = {
...
storageModule: require("./pgstorage"),
...
};
on my pgstorage.js file contains all the methods for the storage module
https://github.com/e-labInnovations/ashad-red/blob/5c983141204a2b3e47276553dd57f3a3b9c38768/pgstorage.js
Node-RED version: v3.0.2
Node.js version: v18.12.1
Can you be more specific about what option you are missing?
Do you mean the button in the Palette Manager you can use to remove a module? Perhaps you can share a screenshot to help make it clear.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.