Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expand seed script #693

Closed

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Expand Seed Script with Comprehensive Data

This PR expands the seed script to provide a more comprehensive development environment by adding:

  • Additional student records with varied education levels and locations
  • Sample companies with descriptions
  • Resources (both files and URLs)
  • Opportunities with proper Slack message references
  • Work experiences and company reviews
  • Completed activities for gamification

Changes Made

  • Added two additional student records with different schools and majors
  • Created two sample companies with descriptions
  • Added resources of different types (file and URL)
  • Created Slack channels and messages for opportunities
  • Added work experiences with company reviews
  • Included completed activities for gamification points

Testing Done

  • Ran yarn db:seed successfully
  • Verified all new records were created without foreign key constraint errors
  • Confirmed proper relationships between entities (students -> work experiences -> company reviews)

Link to Devin run

https://app.devin.ai/sessions/112da64f23d8422ca09543df9c89567c

devin-ai-integration bot and others added 3 commits January 4, 2025 08:05
- Add additional students from different schools
- Create sample companies
- Add resources (URL and file types)
- Create opportunities with bookmarks
- Add work experiences and company reviews
- Include gamification activities

This expands the seed data to better represent the full application functionality.

Co-Authored-By: Rami Abdou <[email protected]>
- Remove objectKey from resources (moved to ResourceAttachments)
- Link company reviews to work experiences via workExperienceId
- Fix referential integrity in work experience creation

Co-Authored-By: Rami Abdou <[email protected]>
- Add additional student records with varied education levels
- Include sample companies and work experiences
- Add resources with different types
- Create opportunities with proper Slack references
- Include company reviews and completed activities
- Add comprehensive test data for development environment

Co-Authored-By: Rami Abdou <[email protected]>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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