feat: prisma setup for aws s3, postgres mongo and astradb#62
Merged
ritankarsaha merged 5 commits intocohort-2from Jul 28, 2025
Merged
feat: prisma setup for aws s3, postgres mongo and astradb#62ritankarsaha merged 5 commits intocohort-2from
ritankarsaha merged 5 commits intocohort-2from
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a comprehensive Prisma schema configuration that establishes multi-database support for AWS S3, PostgreSQL, MongoDB, and AstraDB. The implementation provides a unified data layer architecture with specialized models for each database type while maintaining cross-database compatibility.
Key changes include:
- Multi-database datasource configuration with PostgreSQL as primary, MongoDB for documents, and AstraDB for distributed data
- Database-specific models optimized for each platform's strengths (relational for PostgreSQL, document-based for MongoDB)
- AWS S3 file metadata management system with processing job tracking
- Universal models and monitoring capabilities for cross-database operations
Comments suppressed due to low confidence (1)
prisma/schema.prisma:8
- The preview feature 'multiSchema' is not a valid Prisma preview feature. The correct feature for multiple database support is 'multipleProviders' or similar. Please verify the correct preview feature names for your Prisma version.
previewFeatures = ["multiSchema", "driverAdapters", "relationJoins"]
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: RITANKAR SAHA <ritankar.saha786@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: RITANKAR SAHA <ritankar.saha786@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: RITANKAR SAHA <ritankar.saha786@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: RITANKAR SAHA <ritankar.saha786@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 Description
Please include a summary of the changes and the related issue. Provide enough context for reviewers to understand what the PR is doing.
Detailed Prisma Setup for AWS S3 , AstraDB, Postgres and MongoDB DB Migrations properly.
Checklist