Skip to content

#226 fix regenerate DB schema workflow#231

Merged
Vaibhav978 merged 10 commits into
mainfrom
226-fix-regen-db-schema-workflow
Jun 24, 2026
Merged

#226 fix regenerate DB schema workflow#231
Vaibhav978 merged 10 commits into
mainfrom
226-fix-regen-db-schema-workflow

Conversation

@tsudhakar87

@tsudhakar87 tsudhakar87 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Issue

Closes #226

📝 Description

Write a short summary of what you added. Why is it important? Any member of C4C should be able to read this and understand your contribution -- not just your team members.

Briefly list the changes made to the code:

  1. Added typescript and pg to be installed globally at the install dependencies step in the regen workflow
  2. Added verifications for all packages (pg, typescript, kysely-codegen) to ensure they were installed
  3. Updated author/ref so workflow_dispatch works too

✔️ Verification

What steps did you take to verify your changes work? These should be clear enough for someone to be able to clone the branch and follow the steps themselves.

I ran the workflow using workflow_dispatch and it worked:
Screenshot 2026-06-22 at 8 54 32 AM

You can also see that, since I ran it on this branch, it regenerated the DB schema and committed those changes to this PR. The DB types were updated in a previous commit to main, and is now in a shared DTO instead of in each lambda directory, so these changes (to each lambda's db types) are no longer on this branch (though I think it did update the shared db types file).

🏕️ (Optional) Future Work / Notes

Did you notice anything ugly during the course of this ticket? Any bugs, design challenges, or unexpected behavior? Write it down so we can clean it up in a future ticket!

@github-actions github-actions Bot requested a review from Vaibhav978 June 9, 2026 22:05
github-actions Bot added a commit that referenced this pull request Jun 9, 2026
@tsudhakar87 tsudhakar87 marked this pull request as draft June 9, 2026 22:31
@tsudhakar87 tsudhakar87 marked this pull request as ready for review June 9, 2026 22:41
@tsudhakar87 tsudhakar87 changed the title #226 Fix Regenerate DB Schema Workflow #226 fix regenerate DB schema workflow Jun 9, 2026
github-actions Bot added a commit that referenced this pull request Jun 24, 2026
@Vaibhav978 Vaibhav978 added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit aa6567e Jun 24, 2026
15 checks passed
@Vaibhav978 Vaibhav978 deleted the 226-fix-regen-db-schema-workflow branch June 24, 2026 00:13
github-actions Bot added a commit that referenced this pull request Jun 24, 2026
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.

Fix Regenerate DB Schema Workflow

3 participants