Skip to content

schemaName not working for sails-postgresql #6779

@medchkir

Description

@medchkir

I'm using sails v1.2.2 with sails-postgresql adapter. Looking for using Model with specific schemaName. But relation with mapped with default schemaName (public)

{

   tableName : "t_role",
   meta: {
     schemaName: 'autorisation'
   }
}

AdapterError: Unexpected error from database adapter: relation "public.t_role" does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    ormRelated to models, datastores, orm config, Waterline, sails-hook-orm, etc.postgresqlIssue only occurs when using PostgreSQL

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions