1人のキャラに対して2人のCVが付いている場合。
yagi2 opened this issue · comments
Itsuki Aoyagi commented
カラムの定義変えるしか無いかな……
多分雪歩に対してのあずみんとゆりしーっていうケースだけだと思うんだけど。
Yusuke Nakamura commented
闇を感じる
Yusuke Nakamura commented
active statusで見分けていく
ref #13 にも応用できそう
Yusuke Nakamura commented
nicknameもtableにできそう
Nicknames
id | nickname | type | idol_id | voice_actor_id |
---|---|---|---|---|
1 | えりりん | voice_actor | null | 1 |
2 | はるるん | idol | 1 | null |
3 | はるかっか | idol | 1 | null |
Yusuke Nakamura commented
まとめ
Idols
id | name | production_id | voice_actor_id |
---|---|---|---|
1 | 天海春香 | 1 | 1 |
2 | 萩原雪歩 | 1 | 2 |
3 | 萩原雪歩 | 1 | 3 |
4 | 菊地真 | 1 | 4 |
VoiceActors
id | name | active |
---|---|---|
1 | 中村繪里子 | 0 |
2 | 長谷優里奈 | 1 |
3 | 浅倉杏美 | 0 |
4 | 平田宏美 | 0 |
Nicknames
id | nickname | type | idol_id | voice_actor_id |
---|---|---|---|---|
1 | えりりん | voice_actor | null | 1 |
2 | はるるん | idol | 1 | null |
3 | はるかっか | idol | 1 | null |
4 | ゆりしー | voice_actor | null | 2 |
5 | あずみん | voice_actor | null | 3 |
6 | マーガリン | voice_actor | null | 3 |
7 | ひろりん | voice_actor | null | 4 |
Productions
id | name | president |
---|---|---|
1 | 765プロダクション | 高木順二朗 |
2 | 961プロダクション | 黒井崇男 |
3 | 876プロダクション | 石川実 |
Itsuki Aoyagi commented
さぁModel書くかって思ったけどFuelPHPのModelがわかんなくて死
Itsuki Aoyagi commented
うーん ニックネームは分離しなくてもいいかなって感じになってきた
Itsuki Aoyagi commented
あーでも複数ニックネーム対応できるからつよいな
Yusuke Nakamura commented
それなんだよな