-
Notifications
You must be signed in to change notification settings - Fork 3
[add]原信七日町店のid追加 #1972
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
base: gm3/develop
Are you sure you want to change the base?
[add]原信七日町店のid追加 #1972
Conversation
|
@bucky6312 |
| tel: '0258-27-5301', | ||
| opening_hours: '09:00 - 24:00', | ||
| address: '新潟県長岡市七日町385番地' }, | ||
| { id: 999, name: 'その他(詳細を備考欄に記入必須)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
これちなみに、管理者画面から店追加した時ってid31の店が追加されるかみた?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
まだコードレビューしてないので確認してないです。
@bucky6312 確認した?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
管理者画面を見る方法まだ知らないので教えてほしいです、、
ネット注文の変更はこの後修正しておきます
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adminのコンテナ立てて。
localhost:8000で開く。
ログインは
admin-taro@email.com
gidaifes
のはず。
開けたら左のサイドバーから店一覧を探してそのページで追加できるよー。
api叩いて確認しても良き。uriは忘れたから見つけて欲しい
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
このPRは原信七日町店を新しい店舗として追加し、特別なエントリのID番号を再割り当てするものっすね〜✨
主な変更内容:
- 原信七日町店をID 30で新規追加 🏪
- 「ネット注文」のIDを29→998に変更
- 「その他」のIDを30→999に変更
| { id: 998, name: 'ネット注文', | ||
| tel: '', | ||
| opening_hours: '', | ||
| address: '' }, | ||
| { id: 30, name: 'その他(詳細を備考欄に記入必須)', | ||
| { id: 30, name: '原信 七日町店', | ||
| tel: '0258-27-5301', | ||
| opening_hours: '09:00 - 24:00', | ||
| address: '新潟県長岡市七日町385番地' }, | ||
| { id: 999, name: 'その他(詳細を備考欄に記入必須)', |
Copilot
AI
Nov 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ID番号の順序がバラバラになってるよ〜💦 ID 998の後にID 30が来ちゃってるけど、データベースのシードファイルはID順に並べた方がメンテしやすいっしょ!ID 30の「原信 七日町店」をID 28の「ダイレックス喜多町店」の後に配置して、その後にID 998、999を並べる方がええんちゃう?🤔
| opening_hours: '', | ||
| address: '' }, | ||
| { id: 30, name: 'その他(詳細を備考欄に記入必須)', | ||
| { id: 30, name: '原信 七日町店', |
Copilot
AI
Nov 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ID 30を使ってるけど、これだと今後新しい店舗追加する時にID番号どうするか困るかも〜💭 ID 1-28が既存店舗で、29はスキップされてて、30を使っちゃうと次はID 31になるけど、それってちゃんと管理できてる感じ?🤷♀️ ID 29を使うか、または将来の拡張考えてID 31以降にする方が整合性取れそうだよね〜!
| { id: 30, name: '原信 七日町店', | |
| { id: 29, name: '原信 七日町店', |
|
copilotレビューどっちも修正しておいてほしい~~~ |
対応Issue
resolve #1970
概要
実装詳細
画面スクリーンショット等
↓ネット注文のidを998に変更

テスト項目
備考