balderdashy / balderdashy/sails

Specifying schemaName for sails-postgresql not work

Open
#7,008 2 comments 0 reactions 0 assignees View on GitHub
more info please orm postgresql question
Dominant language
JavaScript
Stars
22.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

**Node version**: 12
**Sails version** _(sails)_: 1.0
**Sails-postgresql version**: newest
Currently default schema when using sail-postgresql is “public”. Can I specify an other schema?
I tried using schemaName property in config model but it didn’t work? Thanks

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior with Node 12, Sails 1.0, sails-postgresql, and a model config containing schemaName. Trace how the adapter handles schema selection and verify that a configured non-public schema is used; the issue is resolved when that behavior is confirmed or the limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, postgresql
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.