Implement Prisma ORM, extend Asociado model, and add project documentation#84
Draft
cLamberti wants to merge 3 commits into
Draft
Implement Prisma ORM, extend Asociado model, and add project documentation#84cLamberti wants to merge 3 commits into
cLamberti wants to merge 3 commits into
Conversation
- Migrate all DAOs from raw SQL to Prisma ORM v7 - Add prisma.config.ts and src/lib/prisma.ts singleton with Neon adapter - Extend Asociado model with 9 new fields (fechaNacimiento, estadoCivil, profesion, telefonoContacto, anosCongregarse, fechaAceptacion, perteneceJuntaDirectiva, puestoJuntaDirectiva, URL fields) - Update DTO, service layer, and API routes for new fields - Extend registro-asociados form with new fields and multi-file upload - Fix EstadoAsistencia build error in asistencia/reporteAsistencia DAOs - Add postinstall prisma generate to package.json - Add project documentation generator script and generated docx Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019xoahf9Vb5VkuXibvFTjyS
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…column widths Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.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.
Summary
@vercel/postgres,@neondatabase/serverless) to Prisma's type-safe API with Neon serverless adapter (prisma.config.ts+src/lib/prisma.tssingleton)fechaNacimiento,estadoCivil,profesion,telefonoContacto,anosCongregarse,fechaAceptacion,perteneceJuntaDirectiva,puestoJuntaDirectiva, plus document URL fieldsEstadoAsistenciaenum import from@prisma/clientinasistencia.dao.tsandreporteAsistencia.dao.ts(enum not in generated client), replaced with string literalsgenerar-doc.cjsscript and generateddocumentacion-scrcr.docxcovering architecture, modules, design patterns, API endpoints, and project statusTest plan
npx prisma generateto ensure client is up to datenpx prisma db pushto apply new Asociado columns to Neon databasenpm run build— should compile without TypeScript errors🤖 Generated with Claude Code
https://claude.ai/code/session_019xoahf9Vb5VkuXibvFTjyS
Generated by Claude Code