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

user_ai_translation_infoモデルのテーブル名修正 #142

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

ttizze
Copy link
Owner

@ttizze ttizze commented Aug 2, 2024

Closes #141

Copy link

github-actions bot commented Aug 2, 2024

Image description CodeRabbit

### ウォークスルー
この変更は、`user_translation_history` テーブルと関連する変数名を `user_ai_translation_info` にリネームし、それに伴うすべての参照を更新しています。また、いくつかの型定義が削除されています。

### 変更点
| ファイル | 要約 |
| --- | --- |
| web/app/feature/translate/libs/translation.ts | 変数名 `userAITranslationHistory` が `userAITranslationInfo` に変更されました。これに伴い、関連するすべての参照も更新されています。 |
| web/prisma/migrations/20240802124108_/migration.sql, web/prisma/schema.prisma | `user_translation_history` テーブルを `user_ai_translation_info` にリネームし、それに伴うプライマリキー、外部キー、およびインデックスの名前も変更しています。 |
| web/app/routes/types.ts | `geminiApiKeySchema`, `PageVersionTranslationInfoSchema`, `UserAITranslationInfoSchema`、および関連する型定義が削除されました。 |

Uplevel your code reviews with CodeRabbit Pro

CodeRabbit Pro

If you like this project, please support us by purchasing the Pro version. The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects.

@ttizze ttizze changed the title user_ai_translation_infoモデルのテーブル名 user_ai_translation_infoモデルのテーブル名修正 Aug 2, 2024
Copy link

github-actions bot commented Aug 2, 2024

This PR is linked to issue #141

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between 22cee2a and 406be6a commits.
Files selected (4)
  • web/app/feature/translate/libs/translation.ts (2)
  • web/app/routes/types.ts (1)
  • web/prisma/migrations/20240802124108_/migration.sql (1)
  • web/prisma/schema.prisma (1)
Review comments generated (5)
  • Review: 0
  • LGTM: 5

Tips

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @coderabbitai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @coderabbitai: ignore anywhere in the PR description to pause further reviews from the bot.

@ttizze ttizze merged commit 89c2583 into main Aug 2, 2024
6 checks passed
@ttizze ttizze deleted the ttizze/fix-issue-141 branch August 2, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

user_ai_translation_infoモデルのテーブル名が前のままになっている
1 participant