Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

PostgresAdapter.test.ts not targeting migrations.schema.default #135

Open
austinkloske22 opened this issue Jan 14, 2022 · 1 comment
Open

Comments

@austinkloske22
Copy link

While attempting to add a multitenant deployment option, I found that jest test deployments always go to public schema regardless of what is defined in the configOptions.

Adjust the migrations.schema.default schema:
Screen Shot 2022-01-14 at 4 31 48 PM

breakpoint after const updateSQL: any = await liquibase(liquibaseOptions).run(updateCmd)

Screen Shot 2022-01-14 at 4 34 06 PM

deployments still go to public schema:

Screen Shot 2022-01-14 at 4 34 54 PM

@austinkloske22
Copy link
Author

I'm seeing the same behavior on deployments using "@sap/cds": "5.7.1", "cds-pg": "0.1.16", "cds-dbm": "^0.0.28"

Screen Shot 2022-01-14 at 4 45 31 PM

Screen Shot 2022-01-14 at 4 45 58 PM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant