Skip to content

TypeORM - Updated sample to support non_admin_user#130

Merged
wcmjunior merged 5 commits intomainfrom
typescript/typeorm
May 15, 2025
Merged

TypeORM - Updated sample to support non_admin_user#130
wcmjunior merged 5 commits intomainfrom
typescript/typeorm

Conversation

@vic-tsang
Copy link
Copy Markdown
Contributor

Updates:

  • Added support for non_admin user
  • Set the default schema as "myschema" for non_admin user via setting search_path
  • Updated README.md to new format

By submitting this pull request, I confirm that my contribution is made under
the terms of the MIT-0 license.

Thank you for your contribution!

@vic-tsang vic-tsang requested a review from imforster May 14, 2025 16:25
@vic-tsang vic-tsang changed the title Updated sample to support non_admin_user TypeORM - Updated sample to support non_admin_user May 14, 2025
@vic-tsang vic-tsang force-pushed the typescript/typeorm branch from 29bad38 to 1932a09 Compare May 14, 2025 23:53
Copy link
Copy Markdown
Contributor

@imforster imforster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked with Victor and validated admin and non-admin. Readme updated to improve clarity. LGTM.

Copy link
Copy Markdown
Contributor

@wcmjunior wcmjunior left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the migrations file. It was a misunderstanding. This is necessary. 🤦

EDIT: issue was caused by previous tests run in the test db and improper clean up. Good to go!

@vic-tsang vic-tsang force-pushed the typescript/typeorm branch from 2d55eba to 88729b0 Compare May 15, 2025 18:15
@wcmjunior wcmjunior merged commit 9fa3009 into main May 15, 2025
6 checks passed
@wcmjunior wcmjunior deleted the typescript/typeorm branch May 15, 2025 18:23
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

Successfully merging this pull request may close these issues.

3 participants