0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00

PostgresSQL fixes (#3681)

## Description

<!-- Provide a brief description of the changes in this PR -->
This PR does the following: 
- changes the config for the schema field in postgresstore to be
schemaName, keeping in line with the vector implementation.
- adds validation for connections. if not present, will throw an error

## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
#123 -->

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have performed a self-review of my own code
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] I have generated a changeset for this PR
This commit is contained in:
NikAiyer 2025-04-16 20:13:42 -05:00 • committed by GitHub
commit 373458f403
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 169 additions and 9 deletions