-
-
Notifications
You must be signed in to change notification settings - Fork 484
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What is the problem this feature would solve?
I would like to be able to put the cluster tables in their own schema in my PG database.
What is the feature you are proposing to solve the problem?
import { SqlRunnerStorage, SqlMessageStorage } from "@effect/cluster"
// Use a separate schema for cluster tables
const clusterSchema = "cluster_schema"
const runnerStorageLayer = SqlRunnerStorage.layerWith({
prefix: "cluster",
schema: clusterSchema // Tables will be: cluster_schema.cluster_runners, cluster_schema.cluster_locks
})
const messageStorageLayer = SqlMessageStorage.layerWith({
prefix: "cluster",
schema: clusterSchema // Tables will be: cluster_schema.cluster_messages, cluster_schema.cluster_replies
})
What alternatives have you considered?
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request