Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to migrate the report portal to new schema 'reportportal_dev' #722

Open
santhoskumara opened this issue Feb 5, 2021 · 1 comment

Comments

@santhoskumara
Copy link
Contributor

santhoskumara commented Feb 5, 2021

our postgres env doesn't have the public schema for security reason so we are migrating the report portal into a new schema 'reportportal_dev' in our postgres server,

We have migrated all the tables using migrations scripts into our new schema.

I verified the table integration_type is present in the schema reportportal_dev.

While start the service-api-5.3.3.jar using start up scripts..
We are getting the Postgres sql exception as 'public.integration_type' does not exist.

So I verified the IntegrationType entity, where schema is defined as 'public' in the table annotation.

In the startup scripts we have overridden the property 'rp.jdbc.url' by specified the host, port user & password appended with current_schema=reportportal_dev.

Also I have added the spring.jpa.properties.hibernate.default_schema=reportportal_dev as a java args in the start up scripts.

but issue not resolved.

Could you help us to provide placeholder in the property/yaml file to override the default schema..

@santhoskumara
Copy link
Contributor Author

santhoskumara commented Feb 16, 2021

HI I am waiting for the response, could you please update.

santhoskumara pushed a commit to santhoskumara/commons-dao that referenced this issue Apr 28, 2021
pbortnik added a commit that referenced this issue Mar 13, 2024
Co-authored-by: Santosh Arumugam <sanarumu@publicisgroupe.net>
Co-authored-by: PeeAyBee <pavel_bortnik@epam.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant