Red
Red copied to clipboard
Some method to enable PostgreSQL extensions?
It's nice that Red can create tables for me if they don't already exist, but would it be possible to have some way to enable extensions when they are needed? Or perhaps this is already possible? :)
Example, allows for use of the 'uuid' column type;
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
That's a good idea! But for now, if needed you can do something like this:
red-do {
.execute: 'CREATE EXTENSION IF NOT EXISTS "uuid-ossp"'
}