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

fix: duplicate enum in multiple migration files issue🐛 #88

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

shivamvijaywargi
Copy link
Contributor

This pull request includes several changes to the database migration files, focusing on renaming files, updating enums, adding timestamps, creating indexes, and updating metadata.

File renaming and updates:

  • Renamed src/db/migrations/0000_optimal_warlock.sql to src/db/migrations/0000_natural_mephisto.sql and updated the activityType enum to include group_updated.
  • Added created_at and updated_at columns to the users_to_groups table.
  • Added a new GIN index search_index on the category table for better search performance.

Metadata updates:

  • Updated the snapshot ID and added the new search_index and timestamp columns in src/db/migrations/meta/0000_snapshot.json. [1] [2] [3] [4]
  • Updated the journal to reflect the new migration file name and timestamp.

@shivamvijaywargi shivamvijaywargi added bug Something isn't working database Database schemas, migrations, and configurations labels Dec 6, 2024
@shivamvijaywargi shivamvijaywargi added this to the V1.0 milestone Dec 6, 2024
@shivamvijaywargi shivamvijaywargi self-assigned this Dec 6, 2024
@Copilot Copilot bot review requested due to automatic review settings December 6, 2024 16:36

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 5 changed files in this pull request and generated no suggestions.

Files not reviewed (4)
  • src/db/migrations/0000_natural_mephisto.sql: Language not supported
  • src/db/migrations/0001_red_korvac.sql: Language not supported
  • src/db/migrations/meta/0000_snapshot.json: Language not supported
  • src/db/migrations/meta/_journal.json: Language not supported
@github-actions github-actions bot added enhancement New feature or request release labels Dec 6, 2024
Copy link

sonarqubecloud bot commented Dec 6, 2024

@shivamvijaywargi shivamvijaywargi merged commit 49eb7b7 into main Dec 6, 2024
7 checks passed
@shivamvijaywargi shivamvijaywargi deleted the feat/reset-db branch December 6, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working database Database schemas, migrations, and configurations enhancement New feature or request release
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant