Skip to content

GEONODE_DATABASE_SCHEMA isn't taken into account when creating the database #13882

@lobenichou

Description

@lobenichou

Expected Behavior

Expecting the schema to be the one defined in the env file and not 'public'

Actual Behavior

It remains unchanged

Steps to Reproduce the Problem

  1. Assign a new schema with GEONODE_DATABASE_SCHEMA
  2. build and start docker
  3. check out the postgresql db structure

Specifications

  • GeoNode version: 5
  • Installation type (vanilla, geonode-project): geonode-project
  • Installation method (manual, docker): docker
  • Platform: Redhat 9
  • Additional details:

I added the schema at the end of the database URL instead but it creates more issues down the line where some tables aren't correctly created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions