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

Implement updates and configurations to D1 database to run migrations before end to end tests #6

Merged
merged 6 commits into from
Nov 22, 2024

Conversation

kimitrii
Copy link
Owner

This pull request introduces several improvements and updates related to the D1 database configuration, test integration, and deployment process:

  1. Configuration and Dependency Updates

    • Upgraded the Wrangler package to the latest version.
    • Updated the D1 database ID to match the new configuration.
  2. CI/CD Improvements

    • Added a step to run migrations automatically before deployment to ensure database consistency.
  3. E2E Testing Enhancements

    • Configured Vitest to apply migrations before running end-to-end tests.
  4. Migration Refactoring

    • Renamed the migration from customer to users to better align with the new data model.
  5. New Sample Endpoint Feature

    • Added a feature in the sample endpoint to insert a user into the D1 database for testing purposes.

@kimitrii kimitrii merged commit f9578f6 into main Nov 22, 2024
1 check passed
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