Skip to content

Feat/dv 1637/database schema centralization#247

Open
nicov-iov wants to merge 1 commit intodevelopfrom
feat/DV-1637/database-schema-centralization
Open

Feat/dv 1637/database schema centralization#247
nicov-iov wants to merge 1 commit intodevelopfrom
feat/DV-1637/database-schema-centralization

Conversation

@nicov-iov
Copy link
Collaborator

@nicov-iov nicov-iov commented Jan 22, 2026

This pull request introduces support for a new prisma git submodule, updates documentation to guide users on cloning and initializing submodules, and ensures both the Docker build process and CI workflows properly handle submodules. These changes ensure that the application always has access to the required external schema and related files from the prisma repository.

Indexer using the new prisma submodule:

image Note: Since the prisma submodule is using the latest prisma schema from the db refactor PR #248, this branch was temporarily merged with that PR so the indexer core logic supports it for the tests. This PR only includes the submodule logic.

Submodule Integration:

  • Added the prisma submodule to the repository by updating .gitmodules and including the submodule commit reference in prisma/. [1] [2]
  • Updated the Docker build process to initialize and update submodules, ensuring the container has the necessary schema files. (Dockerfile)
  • Modified the CodeQL CI workflow to recursively checkout submodules during the code checkout step. (.github/workflows/codeql.yml)

Documentation Updates:

  • Updated README.md to instruct users to clone the repository with submodules and provided guidance for those who have already cloned without submodules.
  • Clarified in README.md that npx prisma generate uses the schema from the prisma submodule.

@nicov-iov nicov-iov requested a review from ivegabr January 22, 2026 02:07
@github-actions
Copy link

github-actions bot commented Jan 22, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
actions/actions/create-github-app-token 31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 🟢 6.1
Details
CheckScoreReason
Maintained🟢 1015 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Code-Review⚠️ 0Found 1/11 approved changesets -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies🟢 5dependency not pinned by hash detected -- score normalized to 5
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
Branch-Protection🟢 5branch protection is not maximal on development and all release branches
Vulnerabilities🟢 55 existing vulnerabilities detected
Packaging🟢 10packaging workflow detected
SAST🟢 10SAST tool is run on all commits

Scanned Files

  • .github/workflows/codeql.yml

@nicov-iov nicov-iov changed the title feat: integrate prisma schema submodule Feat/dv 1637/database schema centralization Jan 22, 2026
@nicov-iov nicov-iov force-pushed the feat/DV-1637/database-schema-centralization branch from a7cd2e9 to d0b5dad Compare January 28, 2026 22:06
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