Skip to content

Comments

feat: prisma setup for aws s3, postgres mongo and astradb#62

Merged
ritankarsaha merged 5 commits intocohort-2from
prisma-setup
Jul 28, 2025
Merged

feat: prisma setup for aws s3, postgres mongo and astradb#62
ritankarsaha merged 5 commits intocohort-2from
prisma-setup

Conversation

@ritankarsaha
Copy link
Collaborator

📌 Description

Please include a summary of the changes and the related issue. Provide enough context for reviewers to understand what the PR is doing.

  • What problem does it solve?

Detailed Prisma Setup for AWS S3 , AstraDB, Postgres and MongoDB DB Migrations properly.

Checklist

  • I have tested this code
  • I have added necessary documentation
  • I have linked relevant issue(s)
  • I followed the code style of the project
  • I reviewed my own code

@ritankarsaha ritankarsaha requested a review from Copilot July 27, 2025 21:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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"]

ritankarsaha and others added 4 commits July 28, 2025 05:38
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>
@ritankarsaha ritankarsaha merged commit 50fd4e1 into cohort-2 Jul 28, 2025
1 check passed
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.

1 participant