Skip to content

Regenerate and rewrite init migration#118

Open
ostepan8 wants to merge 269 commits intomainfrom
regenerate-and-rewrite-init-migration
Open

Regenerate and rewrite init migration#118
ostepan8 wants to merge 269 commits intomainfrom
regenerate-and-rewrite-init-migration

Conversation

@ostepan8
Copy link

ℹ️ Issue

Closes <#165>

📝 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.

updated the init migration so it only defines database enum types (no tables). the enum values were out of sync with our codebase and some enums were unused.

Briefly list the changes made to the code:

  1. removed all table creation from the init migration. tables will be handled in separate migrations.
  2. removed old/unused enums (commit_length_enum, site_enum, app_status_enum, school_enum, experience_type_enum, interest_area_enum, learner_info_school_enum).
  3. kept only enums that our entities use: application_discipline_enum, admins_discipline_enum, discipline_name_enum, application_appstatus_enum, application_experiencetype_enum, application_interest_enum, application_applicanttype_enum, application_school_enum.
  4. updated enum values to match our typescript enums (e.g. appstatus now has no availability, declined, active, inactive instead of rejected).
  5. updated the down method to drop all created types with drop type if exists.

✔️ 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.

Provide screenshots of any new components, styling changes, or pages.

Screenshot 2026-02-18 at 4 06 56 PM

🏕️ (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!

ItsEricSun and others added 30 commits October 8, 2025 00:37
added testing
removed deprecated on update
adding user authentication by adding provider
deleted old migration file and used just the main one
put interceptor decorators in auth controller and module
SamNie2027 and others added 30 commits February 10, 2026 09:21
…ine dto, added tests and comments for new dto
Removed updateApplicationInterest dto, added updateApplicationDiscipl…
…lication

Adds all pandadoc fields that were missing
Refactored Area of Interest to be an array of enum
…ion-migration

Regenerate application migration with pandadoc-matching fields
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.

10 participants

Comments